Commit 0dc6379d authored by Aurel's avatar Aurel

also remove group_id from activate_kw


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17324 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2013b3c9
...@@ -820,6 +820,8 @@ class ActivityTool (Folder, UniqueObject): ...@@ -820,6 +820,8 @@ class ActivityTool (Folder, UniqueObject):
activity_kw = m.activity_kw.copy() activity_kw = m.activity_kw.copy()
if 'group_method_id' in activity_kw: if 'group_method_id' in activity_kw:
del activity_kw['group_method_id'] del activity_kw['group_method_id']
if 'group_id' in activity_kw:
del activity_kw['group_id']
active_obj = obj.activate(**activity_kw) active_obj = obj.activate(**activity_kw)
getattr(active_obj, alternate_method_id)(*m.args, **m.kw) getattr(active_obj, alternate_method_id)(*m.args, **m.kw)
else: else:
......
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