[Erp5-report] r42045 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 6 08:09:08 CET 2011
Author: ivan
Date: Thu Jan 6 08:09:08 2011
New Revision: 42045
URL: http://svn.erp5.org?rev=42045&view=rev
Log:
Use proper API to get embedded documents' portal type list.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewDocumentList/listbox.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewDocumentList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewDocumentList/listbox.xml?rev=42045&r1=42044&r2=42045&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewDocumentList/listbox.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewDocumentList/listbox.xml [utf8] Thu Jan 6 08:09:08 2011
@@ -272,7 +272,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string>python: [[\'Embedded File\', \'Embedded File\']] + [[t, t] for t in context.getPortalDocumentTypeList()]</string> </value>
+ <value> <string>python: [[t, t] for t in list(context.getPortalDocumentTypeList())+list(context.getPortalEmbeddedDocumentTypeList())]</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=42045&r1=42044&r2=42045&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Thu Jan 6 08:09:08 2011
@@ -1 +1 @@
-40851
\ No newline at end of file
+40852
\ No newline at end of file
More information about the Erp5-report
mailing list