From 64a28c62e591bd2849280caf7746cca9ecf3a716 Mon Sep 17 00:00:00 2001 From: Mariano Ruiz Date: Wed, 5 Jun 2013 18:06:22 -0300 Subject: [PATCH] [FIX] TypeError bug #1187937 --- mass_editing/mass_editing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mass_editing/mass_editing.py b/mass_editing/mass_editing.py index a467e35fc..6ed0edba6 100644 --- a/mass_editing/mass_editing.py +++ b/mass_editing/mass_editing.py @@ -50,7 +50,7 @@ class mass_object(osv.osv): for key, val in active_model_obj._inherits.items(): found_model_ids = model_obj.search(cr, uid, [('model', '=', key)]) if found_model_ids: - model_ids += found_model_ids[0] + model_ids += [found_model_ids[0]] return {'value': {'model_ids': [(6, 0, model_ids)]}} def create_action(self, cr, uid, ids, context=None):