Commit 0b8514de authored by Jérome Perrin's avatar Jérome Perrin

top using deprecated method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43605 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74f38590
No related merge requests found
......@@ -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>
......
787
\ No newline at end of file
788
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment