[Erp5-report] r39958 jm - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/erp5_c...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 5 10:51:35 CET 2010
Author: jm
Date: Fri Nov 5 10:51:33 2010
New Revision: 39958
URL: http://svn.erp5.org?rev=39958&view=rev
Log:
Fix Event_init
Modified:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
erp5/trunk/bt5/erp5_crm/bt/revision
Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml?rev=39958&r1=39957&r2=39958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] Fri Nov 5 10:51:33 2010
@@ -57,7 +57,7 @@ type_definition = context.getTypeInfo()\
\n
short_portal_type = type_definition.getShortTitle()\n
if not short_portal_type:\n
- short_portal_type = \'\'.join([s for s in portal_type if s.isupper()])\n
+ short_portal_type = \'\'.join(s for s in type_definition.getId() if s.isupper())\n
\n
id_group = (\'reference\', short_portal_type)\n
default = 1\n
@@ -115,11 +115,7 @@ context.edit(content_type=context.portal
<string>context</string>
<string>type_definition</string>
<string>short_portal_type</string>
- <string>append</string>
- <string>$append0</string>
<string>_getiter_</string>
- <string>portal_type</string>
- <string>s</string>
<string>id_group</string>
<string>default</string>
<string>new_id</string>
Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=39958&r1=39957&r2=39958&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Fri Nov 5 10:51:33 2010
@@ -1 +1 @@
-498
\ No newline at end of file
+499
\ No newline at end of file
More information about the Erp5-report
mailing list