details: https://code.tryton.org/tryton/commit/702f1b938b21
branch: default
user: Cédric Krier <[email protected]>
date: Tue Aug 11 12:08:26 2026 +0200
description:
Set PostOfficeBox when address has a post box in UN/CEFACT 16B-CII
Closes #15005
diffstat:
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 9b3043220a6d -r 702f1b938b21
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
--- a/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
Tue Aug 11 12:05:48 2026 +0200
+++ b/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
Tue Aug 11 12:08:26 2026 +0200
@@ -25,6 +25,7 @@
</py:def>
<py:def function="TradeAddress(address)">
<ram:PostcodeCode
py:if="address.postal_code">${address.postal_code}</ram:PostcodeCode>
+ <ram:PostOfficeBox
py:if="address.post_box">${address.post_box}</ram:PostOfficeBox>
<ram:BuildingName
py:if="address.building_name">${address.building_name}</ram:BuildingName>
<py:with vars="lines = (address.street_unstructured or
'').splitlines()">
<ram:LineOne py:if="len(lines) > 0">${lines[0]}</ram:LineOne>