Browse Source

FIX onchange method name

pull/51/head
Juan Jose Scarafia 10 years ago
parent
commit
e9bfa5c559
  1. 2
      mass_editing/models/mass_object.py

2
mass_editing/models/mass_object.py

@ -49,7 +49,7 @@ class MassObject(orm.Model):
('name_uniq', 'unique (name)', _('Name must be unique!')), ('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: if context is None:
context = {} context = {}
if not model_id: if not model_id:

Loading…
Cancel
Save