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 13, 2025
1 parent 6793b21 commit 1c0f569
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 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 All @@ -73,11 +72,16 @@
string="Legend (for the markers inside invoice lines description)"
>
<div colspan="2">
<p> <strong
>#START#</strong>: Start date of the invoiced period</p>
<p> <strong>#END#</strong>: End date of the invoiced period</p>
<p> <strong
>#INVOICEMONTHNAME#</strong>: Invoice month name of the invoiced period</p>
<p>
<strong>#START#</strong>: Start date of the invoiced period
</p>
<p>
<strong>#END#</strong>: End date of the invoiced period
</p>
<p>
<strong
>#INVOICEMONTHNAME#</strong>: Invoice month name of the invoiced period
</p>
</div>
</group>
</form>
Expand Down

0 comments on commit 1c0f569

Please sign in to comment.