details: https://code.tryton.org/tryton/commit/f8f0a805cbf5
branch: 8.0
user: Cédric Krier <[email protected]>
date: Tue Aug 11 12:05:48 2026 +0200
description:
Set format attribute for DateTimeString in UN/CEFACT 16B-CII
Closes #15004
(grafted from 9b3043220a6da6f9d31dd70f1b1e348b3dc425fe)
diffstat:
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dcdd89b6bc84 -r f8f0a805cbf5
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
--- a/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
Tue Aug 25 09:45:59 2026 +0200
+++ b/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
Tue Aug 11 12:05:48 2026 +0200
@@ -9,7 +9,7 @@
xmlns:py="http://genshi.edgewall.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<py:def function="DateTime(value)">
- <udt:DateTimeString>${value.strftime('%Y%m%d')}</udt:DateTimeString>
+ <udt:DateTimeString
format="102">${value.strftime('%Y%m%d')}</udt:DateTimeString>
</py:def>
<py:def function="TradeParty(party, address=None, tax_identifier=None)">
<ram:Name>${party.name}</ram:Name>