From 9ad8472ce80c441a393e72a2d5015ea8453403bc Mon Sep 17 00:00:00 2001 From: Mariano Ruiz Date: Wed, 5 Jun 2013 18:49:18 -0300 Subject: [PATCH] [FIX] Better operation syntax --- 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 6ed0edba6..537015ac4 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.append(found_model_ids[0]) return {'value': {'model_ids': [(6, 0, model_ids)]}} def create_action(self, cr, uid, ids, context=None):