Use a Length object instead of using _generateNewId to prevent ZODB conflicts
You'll have to update existing active process instances: from BTrees.Length import Length for ap in portal.portal_activities.contentValues(portal_type='Active Process'): ap.result_len = Length(ap.result_list.maxKey()) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14032 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment