diff --git a/addons/account_edi_facturx/data/facturx_templates.xml b/addons/account_edi_facturx/data/facturx_templates.xml index 175092bacae..1f4eab0fc3d 100644 --- a/addons/account_edi_facturx/data/facturx_templates.xml +++ b/addons/account_edi_facturx/data/facturx_templates.xml @@ -26,10 +26,11 @@ + + t-esc="format_monetary(line.price_unit, record.currency_id)"/> @@ -39,6 +40,19 @@ + + + + + + + + + diff --git a/addons/account_edi_facturx/tests/test_facturx.py b/addons/account_edi_facturx/tests/test_facturx.py index f8185c7b74c..755a1eb4a17 100644 --- a/addons/account_edi_facturx/tests/test_facturx.py +++ b/addons/account_edi_facturx/tests/test_facturx.py @@ -82,7 +82,7 @@ class TestAccountEdiFacturx(AccountEdiTestCommon): - 1100.000 + 275.000 true @@ -90,6 +90,9 @@ class TestAccountEdiFacturx(AccountEdiTestCommon): 20.0 + + 220.000 + 5.0 @@ -171,8 +174,8 @@ class TestAccountEdiFacturx(AccountEdiTestCommon): }) applied_xpath = ''' - - 1000.000 + + 200.000