← Back to team overview

openerp-india team mailing list archive

[Bug 1022496] Re: project : KeyError: 'company_id' when group by 'Company'.

 

Hello,

The fix has been released in trunk (revno 7429).  Thanks !

Regards, 
Anto.

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1022496

Title:
  project : KeyError: 'company_id' when group by 'Company'.

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Install project.

  Go to Reporting -> Project -> Task Analysis and try to group by
  'Company' without giving access right "Multi Companies".

  Its gives the following traceback:

  Traceback (most recent call last):
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/orm.py", line 2556, in read_group
      if fget[f]['type'] in ('integer', 'float')
  KeyError: 'company_id'

  Thanks,
  Divyesh

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


References