← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 615274] Re: Regression: cannot open partners (5.0)

 

*** This bug is a duplicate of bug 603708 ***
    https://bugs.launchpad.net/bugs/603708

** This bug is no longer a duplicate of bug 613415
   Trouble when o2m referencial record is removed and read is accessed!
** This bug has been marked a duplicate of bug 603708
   fields.py : correction on get() of O2M
 * You can subscribe to bug 603708 by following this link: https://bugs.launchpad.net/openobject-server/+bug/603708/+subscribe

-- 
Regression: cannot open partners (5.0)
https://bugs.launchpad.net/bugs/615274
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Incomplete

Bug description:
Hi!
5.0 latest bzr.
Updating the server from 5.0.11 to latest bzr made a regression and since then I cannot open partners at all.

 Traceback (most recent call last):
   File "bin/osv/osv.py", line 58, in wrapper
     return f(self, dbname, *args, **kwargs)
   File "bin/osv/osv.py", line 119, in execute
     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
   File "bin/osv/osv.py", line 111, in execute_cr
     return getattr(object, method)(cr, uid, *args, **kw)
   File "bin/addons/koo/koo.py", line 353, in new_fields_view_get
     result = old_fields_view_get( self, cr, user, view_id, view_type, context, toolbar )
   File "bin/osv/orm.py", line 1393, in fields_view_get
     context)
   File "bin/addons/base/ir/ir_values.py", line 225, in get
     res = filter(bool, map(lambda x: _result_get(x, keys), list(result)))
   File "bin/addons/base/ir/ir_values.py", line 225, in <lambda>
     res = filter(bool, map(lambda x: _result_get(x, keys), list(result)))
   File "bin/addons/base/ir/ir_values.py", line 211, in _result_get
     datas = self.pool.get(model).read(cr, uid, [id], fields, context)
   File "bin/addons/hr/hr_department.py", line 71, in read
     context=context, load=load)
   File "bin/osv/orm.py", line 2228, in read
     result = self._read_flat(cr, user, select, fields, context, load)
   File "bin/osv/orm.py", line 2360, in _read_flat
     res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
   File "bin/osv/fields.py", line 427, in get
     res[r[self._fields_id]].append(r['id'])
 KeyError: 118