← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 885997] [NEW] Project : In search view Group by generates error if we try to group by with user or stage in Dashboard

 

Public bug reported:

In search view Group by generates error if we try to group by with user
or stage in Dashboard

Project >Reporting>Dashboard > Project Dashboard


Traceback (most recent call last):
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 2405, in read_group
    assert not groupby or groupby in fields, "Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)"
AssertionError: Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/885997

Title:
  Project : In search view Group by generates error if we try to group
  by with user or stage in Dashboard

Status in OpenERP Addons (modules):
  New

Bug description:
  In search view Group by generates error if we try to group by with
  user or stage in Dashboard

  Project >Reporting>Dashboard > Project Dashboard

  
  Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 2405, in read_group
      assert not groupby or groupby in fields, "Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)"
  AssertionError: Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)

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


Follow ups

References