changeset caf7ac51f4ae in modules/account_payment_sepa:6.0
details:
https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset&node=caf7ac51f4ae
description:
Allow to execute reports without records
issue10409
review355391002
(grafted from e7da72126c587328b734393e7e7b17e972fa4bba)
diffstat:
mandate.fodt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 55d2f0c0b9a7 -r caf7ac51f4ae mandate.fodt
--- a/mandate.fodt Mon May 03 16:00:07 2021 +0200
+++ b/mandate.fodt Thu Sep 02 23:19:36 2021 +0200
@@ -560,15 +560,15 @@
<office:master-styles>
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header>
- <text:p text:style-name="P1"><text:placeholder
text:placeholder-type="text"><if
test="company.header"></text:placeholder></text:p>
+ <text:p text:style-name="P1"><text:placeholder
text:placeholder-type="text"><if test="company and
company.header"></text:placeholder></text:p>
<text:p text:style-name="P1"><text:placeholder
text:placeholder-type="text"><for each="line in
company.header.split('\n')"></text:placeholder></text:p>
<text:p text:style-name="P1"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
<text:p text:style-name="P1"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>
<text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"></if></text:placeholder></text:p>
- <text:p text:style-name="P3"><text:placeholder
text:placeholder-type="text"><company.rec_name></text:placeholder></text:p>
+ <text:p text:style-name="P3"><text:placeholder
text:placeholder-type="text"><company.rec_name if company else
''></text:placeholder></text:p>
</style:header>
<style:footer>
- <text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"><if
test="company.footer"></text:placeholder></text:p>
+ <text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"><if test="company and
company.footer"></text:placeholder></text:p>
<text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"><for each="line in
company.footer.split('\n')"></text:placeholder></text:p>
<text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"><line></text:placeholder></text:p>
<text:p text:style-name="P2"><text:placeholder
text:placeholder-type="text"></for></text:placeholder></text:p>