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 614ace9a89ee53f8cc9d9c1199a6c73feb6d777c..9a2e252e11937a54996670af82c5b63c4cbbf89e 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 @@ -104,8 +104,9 @@ <tal:block tal:condition="report_item/getTitle" tal:define="level report_item/getLevel;\n column_len column_len | python: 5">\n <table:table-cell table:style-name="report-title"\n + tal:define="level_style python: level > 1 and level or \'\'"\n tal:attributes="table:number-columns-spanned python: column_len;\n - table:style-name python:test(level>1, \'report-title%s\' % level, \'report-title\');" \n + table:style-name string:report-title${level_style}" \n office:value-type=\'string\'\n table:number-rows-spanned=\'1\'>\n <text:p tal:content="report_item/getTitle" ></text:p>\n @@ -145,8 +146,7 @@ </tal:block>\n </office:spreadsheet>\n </office:body>\n -</office:document-content>\n - +</office:document-content> ]]></unicode> </value> </item> @@ -176,7 +176,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string></string> </value> + <value> <unicode></unicode> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision index dd4a90065ceb3d30cc38d69c0e85d96466c90bd1..b8e817d4f8350da183e38145325940a42494db8a 100644 --- a/bt5/erp5_ods_style/bt/revision +++ b/bt5/erp5_ods_style/bt/revision @@ -1 +1 @@ -254 \ No newline at end of file +255 \ No newline at end of file