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

        issue10044
        review339791002
diffstat:

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

diffs (54 lines):

diff -r fbcc4ec1b214 -r 9cc183cbd898 purchase.fodt
--- a/purchase.fodt     Tue Feb 09 00:32:17 2021 +0100
+++ b/purchase.fodt     Fri Feb 12 23:56:29 2021 +0100
@@ -668,8 +668,8 @@
       <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
       <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/choose&gt;</text:placeholder></text:p>
       <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;if 
test=&quot;line.description&quot;&gt;</text:placeholder></text:p>
-      <text:p text:style-name="P24"><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="P24"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P24"><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="P24"><text:placeholder 
text:placeholder-type="text">&lt;description&gt;</text:placeholder></text:p>
       <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
       <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
      </table:table-cell>
@@ -708,8 +708,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="P27"><text:soft-page-break/><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
@@ -739,8 +739,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:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
      </table:table-cell>
      <table:covered-table-cell/>
@@ -768,8 +768,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="P22"><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="P22"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P22"><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="P22"><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/>
@@ -853,4 +853,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