From 12ce1f5c1957148594f6c1d30b5fe01ae13582a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 27 Apr 2025 17:26:50 +0200 Subject: [PATCH] Update SEPA template to use structured address values Use unstructured street as AdrLine and fill StrtNm and BldgNb with the structured values. --- modules/account_payment_sepa/template/base.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/account_payment_sepa/template/base.xml b/modules/account_payment_sepa/template/base.xml index 1f09536ed8..ea9b30bbf7 100644 --- a/modules/account_payment_sepa/template/base.xml +++ b/modules/account_payment_sepa/template/base.xml @@ -48,14 +48,14 @@ this repository contains the full copyright notices and license terms. --> - ${address.street.splitlines()[0:1][:70]} - + ${address.street_name[:70]} + ${address.building_number[:16]} ${address.postal_code[:16]} ${address.city[:35]} ${address.subdivision.rec_name[:35]} ${address.country.code} - - + + ${line[:70]}