Skip to content

Commit

Permalink
[IMP] crm_lost_reason_multi_company: improve tree editable view
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaAForgeFlow committed Feb 3, 2025
1 parent 111841f commit bfaaaac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crm_lost_reason_multi_company/views/crm_lost_reason.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
<field name="arch" type="xml">
<field name="name" position="after">
<field name="company_id" groups="base.group_multi_company" />
<field name="company_id" invisible="1" />
</field>
</field>
</record>

<record model="ir.ui.view" id="crm_lost_reason_tree_view">
<field
name="name"
>crm.lost.reason.tree (in res_partner_category_multi_company)</field>
<field name="name">crm.lost.reason.tree</field>
<field name="model">crm.lost.reason</field>
<field name="inherit_id" ref="crm.crm_lost_reason_view_tree" />
<field name="arch" type="xml">
<tree>
<field name="company_id" />
<field name="company_id" groups="base.group_multi_company" />
<field name="company_id" invisible="1" />
</tree>
</field>
</record>
Expand Down

0 comments on commit bfaaaac

Please sign in to comment.