Commit 16b63d66 authored by Vincent Pelletier's avatar Vincent Pelletier

id_tool is not an existing tool - portal_ids is.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13756 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a0f9f98
......@@ -519,7 +519,7 @@ class SQLDict(RAMDict):
uid = line.uid
activity_tool.SQLDict_assignMessage(processing_node=1, uid=[uid])
if node_count > 1:
uid_list = activity_tool.getPortalObject().id_tool.generateNewLengthIdList(id_group='portal_activity', id_count=node_count - 1)
uid_list = activity_tool.getPortalObject().portal_ids.generateNewLengthIdList(id_group='portal_activity', id_count=node_count - 1)
for node in range(2, node_count+1):
activity_tool.SQLDict_writeMessage( uid = uid_list.pop(),
path = path,
......
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