Skip to content

Commit

Permalink
[FIX] account_edi_ubl_cii: do not translate udt:Indicator
Browse files Browse the repository at this point in the history
The tag `udt:Indicator` should either be "true" or "false" but not
"faux", which will raise an exception on the Chorus Pro platform.

opw-3859249

closes odoo#164066

X-original-commit: acbdd6a
Signed-off-by: Wala Gauthier (gawa) <[email protected]>
Signed-off-by: Julien Van Roy (juvr) <[email protected]>
  • Loading branch information
JulienVR committed May 2, 2024
1 parent 3f6dc9b commit 657e3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account_edi_ubl_cii/data/cii_22_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<!-- Discount. -->
<ram:AppliedTradeAllowanceCharge t-if="line.discount">
<ram:ChargeIndicator>
<udt:Indicator>false</udt:Indicator>
<udt:Indicator t-translation="off">false</udt:Indicator>
</ram:ChargeIndicator>
<ram:ActualAmount t-out="format_monetary(line_vals['price_discount_unit'], 2)"/>
</ram:AppliedTradeAllowanceCharge>
Expand Down

0 comments on commit 657e3be

Please sign in to comment.