Test if address has a country before display country name in SEPA mandate report

Closes #14020
(grafted from 3f33d61ce4b3420e385d9a9fa6cd86d2ac455c7d)

--HG--
branch : 6.0
This commit is contained in:
Alex Alias Montserrar committed 2025-09-14 11:47:59 +02:00
1 parent 6421855e3c
commit 043fa95d9e
1 file changed
+1 -1
+1 -1
View File
@@ -853,7 +853,7 @@
<text:p text:style-name="P9"/>
</table:table-cell>
<table:table-cell table:style-name="Table1.B1" table:number-columns-spanned="2" office:value-type="string">
<text:p text:style-name="P8"><text:placeholder text:placeholder-type="text">&lt;mandate.company.party.addresses[0].country.rec_name if mandate.company.party.addresses[0].country else &apos;&apos;&gt;</text:placeholder></text:p>
<text:p text:style-name="P8"><text:placeholder text:placeholder-type="text">&lt;mandate.company.party.addresses[0].country.rec_name if mandate.company.party.addresses and mandate.company.party.addresses[0].country else &apos;&apos;&gt;</text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
</table:table-row>