changeset d8e35d801b41 in modules/account_asset:default
details: 
https://hg.tryton.org/modules/account_asset?cmd=changeset&node=d8e35d801b41
description:
        Allow to execute reports without records

        issue10409
        review355391002
diffstat:

 asset_table.fodt |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 61bde4170692 -r d8e35d801b41 asset_table.fodt
--- a/asset_table.fodt  Mon Aug 30 00:27:13 2021 +0200
+++ b/asset_table.fodt  Thu Sep 02 23:19:36 2021 +0200
@@ -495,7 +495,7 @@
      <table:table-column table:style-name="Table3.A" 
table:number-columns-repeated="3"/>
      <table:table-row>
       <table:table-cell table:style-name="Table3.A1" 
office:value-type="string">
-       <text:p text:style-name="Header">Company: <text:placeholder 
text:placeholder-type="text">&lt;company.rec_name&gt;</text:placeholder> 
</text:p>
+       <text:p text:style-name="Header">Company: <text:placeholder 
text:placeholder-type="text">&lt;company.rec_name if company else 
''&gt;</text:placeholder> </text:p>
       </table:table-cell>
       <table:table-cell table:style-name="Table3.A1" 
office:value-type="string">
        <text:p text:style-name="P1">Amortization Table</text:p>
@@ -745,4 +745,4 @@
    <text:p text:style-name="P4"/>
   </office:text>
  </office:body>
-</office:document>
\ No newline at end of file
+</office:document>

Reply via email to