From b7a8ad390fd1de25f12dcfdf3682db9070464434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 16 Mar 2026 10:22:14 +0100 Subject: [PATCH] Use compact SIRET code for legal ids in UNCEFACT Invoice Since 06e183433933 the identifier code is formatted and not the compact code. --- modules/account_fr_chorus/edocument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_fr_chorus/edocument.py b/modules/account_fr_chorus/edocument.py index 9741cbbce2..69e7999e01 100644 --- a/modules/account_fr_chorus/edocument.py +++ b/modules/account_fr_chorus/edocument.py @@ -16,5 +16,5 @@ class UNCEFACTInvoice(metaclass=PoolMeta): def party_legal_ids(cls, party, address): ids = super().party_legal_ids(party, address) if Transaction().context.get('account_fr_chorus') and address: - ids.append((address.siret.code, {'schemeID': '1'})) + ids.append((address.siret.code_compact, {'schemeID': '1'})) return ids