From 0e09cb02b45886369b803c40dc8b0936c879d8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 25 Aug 2015 15:29:07 +0200 Subject: [PATCH] [FIX] base action rule: unlink call / variable --- addons/base_action_rule/base_action_rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_action_rule/base_action_rule.py b/addons/base_action_rule/base_action_rule.py index 97e5cad8dab..de757a1cf91 100644 --- a/addons/base_action_rule/base_action_rule.py +++ b/addons/base_action_rule/base_action_rule.py @@ -248,7 +248,7 @@ class base_action_rule(osv.osv): """ Instanciate an unlink method that processes action rules. """ def unlink(self, cr, uid, ids, context=None, **kwargs): if context and context.get('action'): - return unlink.origin(self, cr, uid, ids, vals, context=context) + return unlink.origin(self, cr, uid, ids, context=context) # modify context context = dict(context or {}, action=True)