[Erp5-report] r39033 lucas - in /erp5/trunk/bt5/erp5_forge: SkinTemplateItem/portal_skins/e...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 11 21:54:20 CEST 2010
Author: lucas
Date: Mon Oct 11 21:54:15 2010
New Revision: 39033
URL: http://svn.erp5.org?rev=39033&view=rev
Log:
2010-10-11 lucas
* Now portal_type_group_list is an optional param for the script BaseType_copyRoleList.
Modified:
erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BaseType_copyRoleList.xml
erp5/trunk/bt5/erp5_forge/bt/change_log
erp5/trunk/bt5/erp5_forge/bt/revision
Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BaseType_copyRoleList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BaseType_copyRoleList.xml?rev=39033&r1=39032&r2=39033&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BaseType_copyRoleList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BaseType_copyRoleList.xml [utf8] Mon Oct 11 21:54:15 2010
@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
- <tuple>
- <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
- <tuple/>
- </tuple>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
@@ -57,7 +54,7 @@
cb_data = context.manage_copyObjects(\n
ids=[r.getId() for r in context.contentValues(portal_type=\'Role Information\')])\n
\n
-if portal_type_group_list:\n
+if portal_type_group_list is not None:\n
for ti in context.portal_types.contentValues():\n
if ti == context or ti.getId() in portal_type_list:\n
continue\n
@@ -87,7 +84,7 @@ return context.Base_redirect(form_id,\n
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>remove_existing_roles, portal_type_list, portal_type_group_list, form_id=\'view\', **kw</string> </value>
+ <value> <string>remove_existing_roles, portal_type_list, portal_type_group_list=None, form_id=\'view\', **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -127,6 +124,7 @@ return context.Base_redirect(form_id,\n
<string>_getiter_</string>
<string>r</string>
<string>cb_data</string>
+ <string>None</string>
<string>ti</string>
<string>group</string>
<string>_getitem_</string>
@@ -144,6 +142,7 @@ return context.Base_redirect(form_id,\n
<key> <string>func_defaults</string> </key>
<value>
<tuple>
+ <none/>
<string>view</string>
</tuple>
</value>
Modified: erp5/trunk/bt5/erp5_forge/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/change_log?rev=39033&r1=39032&r2=39033&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_forge/bt/change_log [utf8] Mon Oct 11 21:54:15 2010
@@ -1,3 +1,6 @@
+2010-10-11 lucas
+* Now portal_type_group_list is an optional param for the script BaseType_copyRoleList.
+
2010-03-02 yusei
* Remove short title.
Modified: erp5/trunk/bt5/erp5_forge/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/bt/revision?rev=39033&r1=39032&r2=39033&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_forge/bt/revision [utf8] Mon Oct 11 21:54:15 2010
@@ -1 +1 @@
-613
\ No newline at end of file
+614
\ No newline at end of file
More information about the Erp5-report
mailing list