details: https://code.tryton.org/tryton/commit/9b3043220a6d
branch: default
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
diffstat:
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1c859b480ffb -r 9b3043220a6d
modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
--- a/modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
Wed Jul 29 18:28:56 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>