Skip to content

Commit e052fe7

Browse files
SilvioC2Cmourad-ehm
authored andcommitted
[IMP] account_ecotax_sale: ecotax amount with currency in sale form view
1 parent f57128a commit e052fe7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

account_ecotax_sale/views/sale_view.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
<field name="inherit_id" ref="sale.view_order_form" />
1010
<field name="arch" type="xml">
1111
<field name="tax_totals" position="after">
12-
<field name="amount_ecotax" class="oe_subtotal_footer_separator" />
12+
<field
13+
name="amount_ecotax"
14+
class="oe_subtotal_footer_separator"
15+
invisible="not amount_ecotax"
16+
widget="monetary"
17+
options="{'currency_field': 'currency_id'}"
18+
/>
1319
</field>
1420
<xpath
1521
expr="//field[@name='order_line']/form//field[@name='tax_id']"

0 commit comments

Comments
 (0)