Skip to content

Commit ee8a15b

Browse files
committed
[FIX]contract: Malformed expression in the column_invisible attribute.
1 parent 6793b21 commit ee8a15b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contract/views/contract_template.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@
4646
<field name="product_id" />
4747
<field name="name" widget="section_and_note_text" />
4848
<field name="quantity" />
49-
<field name="is_auto_renew" column_invisible="True" />
5049
<field name="uom_id" />
5150
<field
5251
name="automatic_price"
53-
column_invisible="parent.contract_type == 'purchase' and not is_auto_renew"
52+
column_invisible="parent.contract_type == 'purchase'"
5453
/>
5554
<field name="price_unit" readonly="automatic_price" />
5655
<field name="specific_price" column_invisible="True" />

0 commit comments

Comments
 (0)