From 3de16fef12ea1c64e368f3f61cc0fe21025ac62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 2 Sep 2021 23:19:36 +0200 Subject: [PATCH] Allow to execute reports without records issue10409 review355391002 (grafted from e7da72126c587328b734393e7e7b17e972fa4bba) --HG-- branch : 6.0 --- mandate.fodt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mandate.fodt b/mandate.fodt index 24c0ac2401..11098c0745 100644 --- a/mandate.fodt +++ b/mandate.fodt @@ -560,15 +560,15 @@ - <if test="company.header"> + <if test="company and company.header"> <for each="line in company.header.split('\n')"> <line> </for> </if> - <company.rec_name> + <company.rec_name if company else ''> - <if test="company.footer"> + <if test="company and company.footer"> <for each="line in company.footer.split('\n')"> <line> </for>