changeset a53dcd332037 in modules/account_invoice:5.6 details: https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=a53dcd332037 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 22093075169f -r a53dcd332037 invoice.fodt --- a/invoice.fodt Wed Mar 03 18:31:39 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>