[Erp5-report] r18000 - in /erp5/trunk/bt5/erp5_pdf_style: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 4 14:17:37 CET 2007
Author: jerome
Date: Tue Dec 4 14:17:37 2007
New Revision: 18000
URL: http://svn.erp5.org?rev=18000&view=rev
Log:
don't fail if an item is not in the item list for a field
Modified:
erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml
erp5/trunk/bt5/erp5_pdf_style/bt/revision
Modified: erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml?rev=18000&r1=17999&r2=18000&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml (original)
+++ erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml Tue Dec 4 14:17:37 2007
@@ -84,6 +84,7 @@
tal:content="python: str(item)"\n
tal:condition="not:item_list"/>\n
<para style="TableStandard"\n
+ tal:on-error="string: ${value} (???)"\n
tal:content="python: [i[0] for i in item_list if i[1] == item][0]"\n
tal:condition="item_list" />\n
</tal:block>\n
@@ -93,6 +94,7 @@
tal:content="python: str(value)"\n
tal:condition="not:item_list" />\n
<para style="TableStandard"\n
+ tal:on-error="string: ${value} (???)"\n
tal:content="python: [i[0].replace(\'&nbsp;\', \'\') for i in item_list if i[1] == value][0]"\n
tal:condition="item_list" />\n
</tal:block>\n
Modified: erp5/trunk/bt5/erp5_pdf_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/bt/revision?rev=18000&r1=17999&r2=18000&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_pdf_style/bt/revision Tue Dec 4 14:17:37 2007
@@ -1,1 +1,1 @@
-55
+56
More information about the Erp5-report
mailing list