[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">
|
||||
<attribute name="class">alert alert-warning</attribute>
|
||||
</div>
|
||||
<field name="industry_id" position="attributes">
|
||||
<attribute name="attrs">{'invisible': [('parent_id', '!=', False)]}</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -60,6 +63,9 @@
|
||||
<field name="street2" optional="hide"/>
|
||||
<field name="zip" optional="hide"/>
|
||||
</field>
|
||||
<field name="category_id" position="after">
|
||||
<field name="industry_id" optional="hide"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user