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

display report tite in report view, and use report title as sheet name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40873 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3b85351
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="OOoTemplate" module="Products.ERP5OOo.OOoTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......@@ -67,11 +64,20 @@
</tal:block>\n
<tal:block tal:define="portal_object here/portal_url/getPortalObject">\n
<tal:block tal:condition="not: sheet_per_reportsection">\n
<table:table tal:attributes="table:name python:unicode(here.getProperty(\'title\'), \'utf8\')" i18n:attributes="table:name">\n
<table:table tal:attributes="table:name python:unicode(form.getProperty(\'title\'), \'utf8\')" i18n:attributes="table:name">\n
<!-- at least one table-column element is required for ODF to validate -->\n
<table:table-column\n
table:style-name=\'co2\'\n
table:default-cell-style-name=\'report-column-title\'/>\n
\n
<table:table-row table:style-name=\'ro2\'>\n
<table:table-cell table:style-name="report-title"\n
office:value-type=\'string\'\n
table:number-columns-spanned=\'5\'\n
table:number-rows-spanned=\'1\'>\n
<text:p i18n:translate="" tal:content="python: unicode(form.getProperty(\'title\'), \'utf8\')" ></text:p>\n
</table:table-cell>\n
</table:table-row>\n
\n
<tal:block metal:use-macro="here/form_view/macros/form_layout"/>\n
\n
......
243
\ No newline at end of file
241
\ 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