[IMP]pms: property checks

This commit is contained in:
Darío Lodeiros
2022-02-18 22:44:33 +01:00
parent d8aad956ec
commit 07ee49cbbe
14 changed files with 38 additions and 22 deletions

View File

@@ -6,10 +6,15 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_date']" position="after">
<field name="folio_ids" widget="many2many_tags" />
<field name="pms_property_id" invisible="1" />
<field name="pms_property_id" />
</xpath>
<xpath expr="//field[@name='quantity']" position="before">
<field name="name_changed_by_user" invisible="1" />
<field
name="pms_property_id"
attrs="{'column_invisible':[('parent.pms_property_id','!=',False)]}"
/>
</xpath>
</field>
</record>