Commit de1ddd89 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 34267fa2
......@@ -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
......
212
\ No newline at end of file
214
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment