[FIX] product_contract: fixes the visibility of the is_contract field in the sales order form

This commit is contained in:
Marcel Savegnago
2023-09-13 19:00:22 -03:00
parent 347f835c2a
commit 1e1752cc43

View File

@@ -31,7 +31,7 @@
</button>
</xpath>
<xpath expr="//field[@name='order_line']" position="before">
<field name="is_contract" attrs="{'invisible': []}" />
<field name="is_contract" invisible="1" />
</xpath>
<xpath
expr="//field[@name='order_line']/form//field[@name='product_id']"
@@ -59,7 +59,7 @@
expr="//field[@name='order_line']/form//field[@name='tax_id']/parent::group"
position="after"
>
<field name="is_contract" attrs="{'invisible': []}" />
<field name="is_contract" invisible="1" />
<separator
colspan="4"
string="Recurrence Invoicing"