Commit 4d5be6da authored by Jérome Perrin's avatar Jérome Perrin

ods_style: include a sheet for report header in `sheet_per_report_section` mode

parent 8cb8d15c
......@@ -100,6 +100,23 @@
</table:table>
</tal:block>
</tal:block>
<!-- include the report header as last page -->
<table:table tal:attributes="table:name python:unicode(form.getProperty('title'), 'utf8')" i18n:attributes="table:name">
<table:table-column
table:style-name='co2'
table:number-columns-repeated='100'
table:default-cell-style-name='Default'/>
<table:table-row table:style-name='ro2'>
<table:table-cell table:style-name="report-title"
office:value-type='string'
table:number-columns-spanned='5'
table:number-rows-spanned='1'>
<text:p i18n:translate="" tal:content="python: unicode(form.getProperty('title'), 'utf8')" ></text:p>
</table:table-cell>
</table:table-row>
<!-- fields from the report form itself -->
<tal:block metal:use-macro="here/form_view/macros/form_layout"/>
</table:table>
</tal:block>
</tal:block>
</tal:block>
......
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