Browse Source

[FIX] TypeError bug #1187937

pull/78/head
Mariano Ruiz 12 years ago
parent
commit
64a28c62e5
  1. 2
      mass_editing/mass_editing.py

2
mass_editing/mass_editing.py

@ -50,7 +50,7 @@ class mass_object(osv.osv):
for key, val in active_model_obj._inherits.items(): for key, val in active_model_obj._inherits.items():
found_model_ids = model_obj.search(cr, uid, [('model', '=', key)]) found_model_ids = model_obj.search(cr, uid, [('model', '=', key)])
if found_model_ids: if found_model_ids:
model_ids += found_model_ids[0]
model_ids += [found_model_ids[0]]
return {'value': {'model_ids': [(6, 0, model_ids)]}} return {'value': {'model_ids': [(6, 0, model_ids)]}}
def create_action(self, cr, uid, ids, context=None): def create_action(self, cr, uid, ids, context=None):

Loading…
Cancel
Save