[IMP] use is_company instead of company_type
This commit is contained in:
parent
ae66dc348d
commit
8917259821
@ -37,13 +37,13 @@
|
|||||||
|
|
||||||
<xpath expr="//field[@name='type']" position="before">
|
<xpath expr="//field[@name='type']" position="before">
|
||||||
<field name="name_write" placeholder="i.e. Ural Bank for Reconstruction and Development"/>
|
<field name="name_write" placeholder="i.e. Ural Bank for Reconstruction and Development"/>
|
||||||
<field name="name_genitive" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
<field name="name_genitive" attrs="{'invisible': [('is_company', '=', True)]}"/>
|
||||||
<field name="name_initials" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
<field name="name_initials" attrs="{'invisible': [('is_company', '=', True)]}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<xpath expr="//field[@name='category_id']" position="after">
|
<xpath expr="//field[@name='category_id']" position="after">
|
||||||
<field name="representative_id" domain="[('is_company', '=', False)]" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
|
<field name="representative_id" domain="[('is_company', '=', False)]" attrs="{'invisible': [('is_company', '=', False)]}"/>
|
||||||
<field name="representative_document" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
|
<field name="representative_document" attrs="{'invisible': [('is_company', '=', False)]}"/>
|
||||||
|
|
||||||
<field name="signature" widget="image"/>
|
<field name="signature" widget="image"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user