Browse Source

Merge pull request #51 from ingadhoc/8.0

FIX onchange method name on mass editting module
pull/58/merge
Guewen Baconnier 10 years ago
parent
commit
3e6f298366
  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