details:   https://code.tryton.org/tryton/commit/0f5fb8d4cc69
branch:    8.0
user:      Adrià Tarroja Caubet <[email protected]>
date:      Wed May 13 11:25:48 2026 +0200
description:
        Avoid crash on SEPA mandate report without bank

        Closes #14831
        (grafted from e0215f17958ae81f62403c4ff552d8551a163393)
diffstat:

 modules/account_payment_sepa/mandate.fodt |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f6a9d62f1dbf -r 0f5fb8d4cc69 modules/account_payment_sepa/mandate.fodt
--- a/modules/account_payment_sepa/mandate.fodt Tue May 19 18:19:59 2026 +0200
+++ b/modules/account_payment_sepa/mandate.fodt Wed May 13 11:25:48 2026 +0200
@@ -829,7 +829,7 @@
       <text:p text:style-name="P15"/>
      </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="Table_20_Contents"><text:placeholder 
text:placeholder-type="text">&lt;mandate.account_number.account.bank.bic if 
mandate.account_number else &apos;&apos;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Table_20_Contents"><text:placeholder 
text:placeholder-type="text">&lt;mandate.account_number.account.bank.bic if 
mandate.account_number and mandate.account_number.account.bank else 
&apos;&apos;&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
     </table:table-row>

Reply via email to