[Erp5-report] r29351 - in /erp5/trunk/bt5/erp5_ods_style: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 1 15:47:27 CEST 2009


Author: jerome
Date: Thu Oct  1 15:47:27 2009
New Revision: 29351

URL: http://svn.erp5.org?rev=29351&view=rev
Log:
a report section can have no title, but a table in ODF must have a name

Modified:
    erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
    erp5/trunk/bt5/erp5_ods_style/bt/revision

Modified: erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml?rev=29351&r1=29350&r2=29351&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml [utf8] Thu Oct  1 15:47:27 2009
@@ -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

Modified: erp5/trunk/bt5/erp5_ods_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ods_style/bt/revision?rev=29351&r1=29350&r2=29351&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ods_style/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ods_style/bt/revision [utf8] Thu Oct  1 15:47:27 2009
@@ -1,1 +1,1 @@
-212
+214




More information about the Erp5-report mailing list