[6.1][mass_editing] TypeError when try to create a product.product edition registry

Bug #1187937 reported by Mariano Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Server Environment And Tools
Fix Released
Undecided
Unassigned

Bug Description

When try to create a new registry in Configuration > Mass Editing > Mass Editing, and in "Model" field select Product (product.product), this is launched:

2013-06-05 20:24:08,788 17571 ERROR ? openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/opt/oerp/openerp-6.1/server/openerp/osv/osv.py", line 129, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/oerp/openerp-6.1/server/openerp/osv/osv.py", line 195, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/oerp/openerp-6.1/server/openerp/osv/osv.py", line 183, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/oerp/extra-addons-6.1/mass_editing/mass_editing.py", line 53, in onchange_model
    model_ids += found_model_ids[0]
TypeError: 'int' object is not iterable
2013-06-05 20:24:08,790 17571 ERROR ? openerp.netsvc: 'int' object is not iterable

We fix this bug, please check our branch patch.

Related branches

Changed in server-env-tools:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.