[FIX] incorrect domain

This commit is contained in:
Stepan Savelyev 2019-12-30 15:16:29 +05:00
parent 337953a259
commit 16dcc0ee89

View File

@ -42,7 +42,7 @@
</xpath>
<xpath expr="//field[@name='category_id']" position="after">
<field name="representative_id" domain="[('company_type', '=', 'person')]" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
<field name="representative_id" domain="[('is_company', '=', False)]" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
<field name="representative_document" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
<field name="signature" widget="image"/>