changeset 8183563ea789 in modules/purchase_request_quotation:default
details:
https://hg.tryton.org/modules/purchase_request_quotation?cmd=changeset&node=8183563ea789
description:
Split line description only if not None
issue11174
review397151006
diffstat:
quotation.fodt | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r ef54ed7fc038 -r 8183563ea789 quotation.fodt
--- a/quotation.fodt Sun Jan 23 12:54:56 2022 +0100
+++ b/quotation.fodt Tue Jan 25 10:01:02 2022 +0100
@@ -684,9 +684,11 @@
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Tableau1.A3"
office:value-type="string">
+ <text:p text:style-name="P26"><text:placeholder
text:placeholder-type="text"><if
test="quotation_line.description"></text:placeholder></text:p>
<text:p text:style-name="P26"><text:placeholder
text:placeholder-type="text"><for each="description in
quotation_line.description.split('\n')"></text:placeholder></text:p>
<text:p text:style-name="P26"><text:placeholder
text:placeholder-type="text"><description></text:placeholder></text:p>
<text:p text:style-name="P26"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
+ <text:p text:style-name="P26"><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="P17"><text:placeholder
text:placeholder-type="text"><format_number_symbol(quotation_line.quantity,
quotation.supplier.lang, quotation_line.unit,
digits=quotation_line.unit.digits) if quotation_line.unit else
format_number(quotation_line.quantity,
quotation.supplier.lang)></text:placeholder></text:p>