changeset c195d7b786aa in modules/purchase_request_quotation:5.0 details: https://hg.tryton.org/modules/purchase_request_quotation?cmd=changeset&node=c195d7b786aa description: Split line description only if not None
issue11174 review397151006 (grafted from 8183563ea789ac1b01b965819feb16118bea22ec) diffstat: quotation.fodt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (15 lines): diff -r d687186309d0 -r c195d7b786aa quotation.fodt --- a/quotation.fodt Thu Jun 17 22:03:34 2021 +0200 +++ b/quotation.fodt Tue Jan 25 10:01:02 2022 +0100 @@ -633,9 +633,11 @@ </table:table-row> <table:table-row> <table:table-cell table:style-name="Tableau1.A3" office:value-type="string"> + <text:p text:style-name="P22"><text:placeholder text:placeholder-type="text"><if test="quotation_line.description"></text:placeholder></text:p> <text:p text:style-name="P22"><text:placeholder text:placeholder-type="text"><for each="description in quotation_line.description.split('\n')"></text:placeholder></text:p> <text:p text:style-name="P22"><text:placeholder text:placeholder-type="text"><description></text:placeholder></text:p> <text:p text:style-name="P22"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p> + <text:p text:style-name="P22"><text:placeholder text:placeholder-type="text"></if></text:placeholder></text:p> </table:table-cell> <table:table-cell table:style-name="Tableau1.A3" office:value-type="string"> <text:p text:style-name="P13"><text:placeholder text:placeholder-type="text"><(format_number(quotation_line.quantity, quotation.supplier.lang, digits=quotation_line.unit_digits) + (quotation_line.unit and (' ' + quotation_line.unit.symbol) or '')) or ''></text:placeholder></text:p>