Commit fcd509ee authored by Aurel's avatar Aurel

also remove group_id from activity_kw


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15002 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e0c78ffe
...@@ -704,6 +704,8 @@ class ActivityTool (Folder, UniqueObject): ...@@ -704,6 +704,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 = subobj.activate(**activity_kw) active_obj = subobj.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