Merge PR #620 into 13.0

Signed-off-by dreispt
This commit is contained in:
OCA-git-bot
2021-04-24 12:49:41 +00:00

View File

@@ -25,6 +25,24 @@
name="attrs"
>{'invisible': [('qty_type', '!=', 'fixed')]}</attribute>
</xpath>
<xpath
expr="//field[@name='contract_line_fixed_ids']/tree/field[@name='quantity']"
position="before"
>
<field name="qty_type" />
<field
name="qty_formula_id"
attrs="{'invisible': [('qty_type', '!=', 'variable')]}"
/>
</xpath>
<xpath
expr="//field[@name='contract_line_fixed_ids']/tree/field[@name='quantity']"
position="attributes"
>
<attribute
name="attrs"
>{'invisible': [('qty_type', '!=', 'fixed')]}</attribute>
</xpath>
</field>
</record>
</odoo>