← Back to team overview

openerp-community team mailing list archive

[Merge] lp:~eoc/server-env-tools/6.1-mass_editing-fix_bug_1187937 into lp:~openerp-community/server-env-tools/6.1-mass_editing

 

Mariano Ruiz - EOC has proposed merging lp:~eoc/server-env-tools/6.1-mass_editing-fix_bug_1187937 into lp:~openerp-community/server-env-tools/6.1-mass_editing.

Requested reviews:
  OpenERP Community (openerp-community)

For more details, see:
https://code.launchpad.net/~eoc/server-env-tools/6.1-mass_editing-fix_bug_1187937/+merge/167643

This branch fix the error #1187937.
-- 
https://code.launchpad.net/~eoc/server-env-tools/6.1-mass_editing-fix_bug_1187937/+merge/167643
Your team OpenERP Community is requested to review the proposed merge of lp:~eoc/server-env-tools/6.1-mass_editing-fix_bug_1187937 into lp:~openerp-community/server-env-tools/6.1-mass_editing.
=== modified file 'mass_editing/mass_editing.py'
--- mass_editing/mass_editing.py	2013-05-07 18:28:03 +0000
+++ mass_editing/mass_editing.py	2013-06-05 21:13:36 +0000
@@ -50,7 +50,7 @@
                 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):


Follow ups