[Expired for OpenERP Server because there has been no activity for 60
days.]

** Changed in: openobject-server
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/851710

Title:
  [Trunk] group_by not working on _inherits objects

Status in OpenERP Server:
  Expired

Bug description:
  Hi,

  Using the latest trunk, I've got an object which _inheritS from an
  other one. Addind group_by filters on my object don't work, and I got
  this stacktrace :

  Traceback (most recent call last):
    File "/home/thibaut/OpenERP 6/Logica/server/openerp/osv/osv.py", line 121, 
in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/thibaut/OpenERP 6/Logica/server/openerp/osv/osv.py", line 175, 
in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/thibaut/OpenERP 6/Logica/server/openerp/osv/osv.py", line 166, 
in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/thibaut/OpenERP 6/Logica/server/openerp/osv/orm.py", line 2753, 
in read_group
      d['__domain'] = [(groupby, '=', alldata[d['id']][groupby] or False)] + 
domain
  KeyError: 398

  I run the code in PDB, and alldata[] does not contain the key '398' in
  my case. There were 1 and 399.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/851710/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to