Skip to content

Commit

Permalink
[FIX]contract: Malformed expression in the column_invisible attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
adasatorres committed Feb 14, 2025
1 parent 6793b21 commit ee8a15b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contract/views/contract_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@
<field name="product_id" />
<field name="name" widget="section_and_note_text" />
<field name="quantity" />
<field name="is_auto_renew" column_invisible="True" />
<field name="uom_id" />
<field
name="automatic_price"
column_invisible="parent.contract_type == 'purchase' and not is_auto_renew"
column_invisible="parent.contract_type == 'purchase'"
/>
<field name="price_unit" readonly="automatic_price" />
<field name="specific_price" column_invisible="True" />
Expand Down

0 comments on commit ee8a15b

Please sign in to comment.