changeset ac32f9929dbd in modules/account_invoice:5.8 details: https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=ac32f9929dbd description: Skip maturity date formatting if empty
issue10222 review336111002 (grafted from 863a460f4ae56505a3490f25474efaf71e1b224e) diffstat: invoice.fodt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 8eccd9138f60 -r ac32f9929dbd invoice.fodt --- a/invoice.fodt Wed Mar 03 18:31:19 2021 +0100 +++ b/invoice.fodt Fri Apr 30 13:31:23 2021 +0200 @@ -976,7 +976,7 @@ </table:table-row> <table:table-row> <table:table-cell table:style-name="Table5.A4" office:value-type="string"> - <text:p text:style-name="Table_20_Contents"><text:placeholder text:placeholder-type="text"><format_date(line.maturity_date, invoice.party.lang)></text:placeholder></text:p> + <text:p text:style-name="Table_20_Contents"><text:placeholder text:placeholder-type="text"><format_date(line.maturity_date, invoice.party.lang) if line.maturity_date else ''></text:placeholder></text:p> </table:table-cell> <table:table-cell table:style-name="Table5.B4" office:value-type="string"> <text:p text:style-name="P10"><text:placeholder text:placeholder-type="text"><line.amount_second_currency and format_currency(line.amount_second_currency, invoice.party.lang, invoice.currency) or format_currency(line.debit - line.credit, invoice.party.lang, invoice.currency)></text:placeholder></text:p>