[Erp5-report] r43847 jerome - in /erp5/trunk/bt5/erp5_project: SkinTemplateItem/portal_skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 1 11:22:18 CET 2011
Author: jerome
Date: Tue Mar 1 11:22:18 2011
New Revision: 43847
URL: http://svn.erp5.org?rev=43847&view=rev
Log:
reapply 43605 (stop using deprecated method to generate codification) that have mistakenly been reverted
Modified:
erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_init.xml
erp5/trunk/bt5/erp5_project/bt/revision
Modified: erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_init.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_init.xml?rev=43847&r1=43846&r2=43847&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_init.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_init.xml [utf8] Tue Mar 1 11:22:18 2011
@@ -52,7 +52,7 @@
<key> <string>_body</string> </key>
<value> <string>"""Initialize an unique codification on project, because projects are often used as security group.\n
"""\n
-codification = context.getPortalObject().portal_ids.generateNewLengthId(id_group=\'project.codification\', default=1)\n
+codification = context.getPortalObject().portal_ids.generateNewId(id_group=\'project.codification\', id_generator=\'uid\', default=1)\n
context.setCodification(\'PROJ-%s\' % codification)\n
</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_project/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/bt/revision?rev=43847&r1=43846&r2=43847&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/bt/revision [utf8] Tue Mar 1 11:22:18 2011
@@ -1 +1 @@
-798
\ No newline at end of file
+799
\ No newline at end of file
More information about the Erp5-report
mailing list