changeset 07ffb52d28db in modules/sale:default
details: https://hg.tryton.org/modules/sale?cmd=changeset;node=07ffb52d28db
description:
        Do not override line variable to render description in reports

        issue10044
        review339791002
diffstat:

 sale.fodt |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r 943199ea74da -r 07ffb52d28db sale.fodt
--- a/sale.fodt Tue Feb 09 00:32:17 2021 +0100
+++ b/sale.fodt Fri Feb 12 23:56:29 2021 +0100
@@ -614,8 +614,8 @@
       <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;line.product.rec_name&gt;</text:placeholder></text:p>
       <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
       <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;if 
test=&quot;line.description&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;line in 
line.description.split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="P21"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;description in 
line.description.split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P21"><text:placeholder 
text:placeholder-type="text">&lt;description&gt;</text:placeholder></text:p>
       <text:p text:style-name="P21"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
       <text:p text:style-name="P21"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
      </table:table-cell>
@@ -654,8 +654,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="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;line in (line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;description in 
(line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;description&gt;</text:placeholder></text:p>
       <text:p text:style-name="P23"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
@@ -685,8 +685,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="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;line in (line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;description in 
(line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;description&gt;</text:placeholder></text:p>
       <text:p 
text:style-name="Heading_20_2"><text:soft-page-break/><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
@@ -714,8 +714,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="P19"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;line in (line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;description in 
(line.description or 
&apos;&apos;).split(&apos;\n&apos;)&quot;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P19"><text:placeholder 
text:placeholder-type="text">&lt;description&gt;</text:placeholder></text:p>
       <text:p text:style-name="P20"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
@@ -798,4 +798,4 @@
    <text:p text:style-name="Text_20_body"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
   </office:text>
  </office:body>
-</office:document>
\ No newline at end of file
+</office:document>

Reply via email to