From 0dc6379ddd7573e835b1065376c2225ef9e6232f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Wed, 31 Oct 2007 16:36:48 +0000 Subject: [PATCH] also remove group_id from activate_kw git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17324 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/ActivityTool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index 1de625a746..5cd6925c4d 100644 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -820,6 +820,8 @@ class ActivityTool (Folder, UniqueObject): activity_kw = m.activity_kw.copy() if 'group_method_id' in activity_kw: del activity_kw['group_method_id'] + if 'group_id' in activity_kw: + del activity_kw['group_id'] active_obj = obj.activate(**activity_kw) getattr(active_obj, alternate_method_id)(*m.args, **m.kw) else: -- 2.30.9