From de1ddd89cacf35cb96f1561603e813b0d1b6ba49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 1 Oct 2009 13:47:27 +0000 Subject: [PATCH] a report section can have no title, but a table in ODF must have a name git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29351 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_ods_style/report_view.xml | 2 +- bt5/erp5_ods_style/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml index 2d60e13a1b..dc1fe30307 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml @@ -128,7 +128,7 @@ <tal:block tal:condition="sheet_per_reportsection">\n <tal:block tal:repeat="report_item python: report_item_list">\n <tal:block tal:condition="python: report_item.getFormId()">\n - <table:table tal:attributes="table:name python: unicode(report_item.getTitle(), \'utf-8\')">\n + <table:table tal:attributes="table:name python: unicode(report_item.getTitle() or \'Table%s\' % repeat[\'report_item\'].index, \'utf-8\')">\n <tal:block metal:use-macro="here/report_view/macros/make_report_item_table"/>\n </table:table>\n </tal:block>\n diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision index b7c52fb181..aebfaa171d 100644 --- a/bt5/erp5_ods_style/bt/revision +++ b/bt5/erp5_ods_style/bt/revision @@ -1 +1 @@ -212 \ No newline at end of file +214 \ No newline at end of file -- 2.30.9