Skip to content

Commit a0d137d

Browse files
committed
[FIX] account_edi_ubl_cii: allow the use of IBANID
Due to an error in the condition, `ProprietaryID` was always used, even if IBANID should be used instead. That lead to customers missing information (`ProprietaryID` is not always picked up by other software, while IBANID is). opw-4414985 closes odoo#192519 Signed-off-by: Claire Bretton (clbr) <[email protected]>
1 parent fe54cf6 commit a0d137d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/account_edi_ubl_cii/data/cii_22_templates.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@
239239
<ram:TypeCode>42</ram:TypeCode>
240240
<ram:PayeePartyCreditorFinancialAccount>
241241
<ram:IBANID
242-
t-if="record.partner_bank_id.sanitized_acc_number == 'iban'"
242+
t-if="record.partner_bank_id.acc_type == 'iban'"
243243
t-out="record.partner_bank_id.sanitized_acc_number"/>
244244
<ram:ProprietaryID
245-
t-if="record.partner_bank_id.sanitized_acc_number != 'iban'"
245+
t-if="record.partner_bank_id.acc_type != 'iban'"
246246
t-out="record.partner_bank_id.sanitized_acc_number"/>
247247
</ram:PayeePartyCreditorFinancialAccount>
248248
</ram:SpecifiedTradeSettlementPaymentMeans>

0 commit comments

Comments
 (0)