changeset 715ff0fd923d in modules/account_invoice:default
details:
https://hg.tryton.org/modules/account_invoice?cmd=changeset;node=715ff0fd923d
description:
Do not override line variable to render description in reports
issue10044
review339791002
diffstat:
invoice.fodt | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (47 lines):
diff -r e49acf5baa3d -r 715ff0fd923d invoice.fodt
--- a/invoice.fodt Wed Feb 03 21:21:03 2021 +0100
+++ b/invoice.fodt Fri Feb 12 23:56:29 2021 +0100
@@ -700,8 +700,8 @@
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><line.product.rec_name></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></if></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><if
test="line.description"></text:placeholder></text:p>
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="line in
line.description.split('\n')"></text:placeholder></text:p>
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="description in
line.description.split('\n')"></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><description></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></if></text:placeholder></text:p>
</table:table-cell>
@@ -738,8 +738,8 @@
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Table1.A8"
table:number-columns-spanned="4" office:value-type="string">
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="line in (line.description or
'').split('\n')"></text:placeholder></text:p>
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="description in
(line.description or
'').split('\n')"></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><description></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
@@ -770,8 +770,8 @@
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Table1.A11"
table:number-columns-spanned="5" office:value-type="string">
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="line in (line.description or
'').split('\n')"></text:placeholder></text:p>
- <text:p text:style-name="P9"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="description in
(line.description or
'').split('\n')"></text:placeholder></text:p>
+ <text:p text:style-name="P9"><text:placeholder
text:placeholder-type="text"><description></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
@@ -799,8 +799,8 @@
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Table1.A17"
table:number-columns-spanned="5" office:value-type="string">
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="line in (line.description or
'').split('\n')"></text:placeholder></text:p>
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><for each="description in
(line.description or
'').split('\n')"></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><description></text:placeholder></text:p>
<text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>