From e9bfa5c5591adb0d9e8deb7f34ca9aec59ea2bdb Mon Sep 17 00:00:00 2001 From: Juan Jose Scarafia Date: Thu, 11 Sep 2014 14:13:23 -0300 Subject: [PATCH] FIX onchange method name --- mass_editing/models/mass_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mass_editing/models/mass_object.py b/mass_editing/models/mass_object.py index 8e7737d25..6e436e8be 100644 --- a/mass_editing/models/mass_object.py +++ b/mass_editing/models/mass_object.py @@ -49,7 +49,7 @@ class MassObject(orm.Model): ('name_uniq', 'unique (name)', _('Name must be unique!')), ] - def onchange_model(self, cr, uid, ids, model_id, context=None): + def onchange_model_id(self, cr, uid, ids, model_id, context=None): if context is None: context = {} if not model_id: