From fed5651f1cb6a6a38a3962b72d4aa8ff3f409ef0 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Fri, 21 Dec 2012 11:30:03 +0100 Subject: [PATCH] [IMP] base_action_rule: small code improvement bzr revid: rco@openerp.com-20121221103003-tl689nm2ser3u001 --- addons/base_action_rule/base_action_rule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/base_action_rule/base_action_rule.py b/addons/base_action_rule/base_action_rule.py index 304133a5926..5f337ef9db1 100644 --- a/addons/base_action_rule/base_action_rule.py +++ b/addons/base_action_rule/base_action_rule.py @@ -143,7 +143,8 @@ class base_action_rule(osv.osv): model.write(cr, uid, record_ids, values, context=context) if action.act_followers and hasattr(model, 'message_subscribe'): - model.message_subscribe(cr, uid, record_ids, map(int, action.act_followers), context=context) + follower_ids = map(int, action.act_followers) + model.message_subscribe(cr, uid, record_ids, follower_ids, context=context) return True