[IMP] base_usability: add industry_id in partner tree view
Show industry_id on form view of partner even when is_company=False ; hide for contacts
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
<div attrs="{'invisible': [('same_vat_partner_id', '=', False)]}" position="attributes">
|
<div attrs="{'invisible': [('same_vat_partner_id', '=', False)]}" position="attributes">
|
||||||
<attribute name="class">alert alert-warning</attribute>
|
<attribute name="class">alert alert-warning</attribute>
|
||||||
</div>
|
</div>
|
||||||
|
<field name="industry_id" position="attributes">
|
||||||
|
<attribute name="attrs">{'invisible': [('parent_id', '!=', False)]}</attribute>
|
||||||
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
@@ -60,6 +63,9 @@
|
|||||||
<field name="street2" optional="hide"/>
|
<field name="street2" optional="hide"/>
|
||||||
<field name="zip" optional="hide"/>
|
<field name="zip" optional="hide"/>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="category_id" position="after">
|
||||||
|
<field name="industry_id" optional="hide"/>
|
||||||
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user