diff --git a/addons/base_action_rule/base_action_rule.py b/addons/base_action_rule/base_action_rule.py index 237788d689a..7e9bbacab13 100644 --- a/addons/base_action_rule/base_action_rule.py +++ b/addons/base_action_rule/base_action_rule.py @@ -320,7 +320,8 @@ the rule to mark CC(mail to any other person defined in actions)."), 'subject': '[%d] %s' % (obj.id, tools.ustr(obj.name)), 'body_html': '
%s' % body, 'res_id': obj.id, - 'model': obj._table + 'model': obj._table_name, + 'auto_delete': True }, context=context)