From a9788504785c297ae0c59ef5d909272f1a4073cc Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Tue, 20 Aug 2013 09:51:49 -0400 Subject: [PATCH] [FIX] Call unlink_action in the model's unlink() method --- mass_editing/mass_editing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mass_editing/mass_editing.py b/mass_editing/mass_editing.py index 537015ac4..aa1c4a9c4 100644 --- a/mass_editing/mass_editing.py +++ b/mass_editing/mass_editing.py @@ -96,6 +96,10 @@ class mass_object(osv.osv): raise osv.except_osv(_("Warning"), _("Deletion of the action record failed.")) return True + def unlink(self, cr, uid, ids, context=None): + self.unlink_action(cr, uid, ids, context) + return super(mass_object, self).unlink(cr, uid, ids, context) + mass_object() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: