← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673899] Re: caldav : Calendar Collections : Fields in 'groupby' must appear in the list of fields to read

 

Hello,

It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-
addons/atp-dev-addons1

Revision ID: atp@xxxxxxxxxxxxx-20101111102324-tgx4lwtx0ojs32v2
revno: 4514

This branch will be merged soon with Addons.

Thanks for notifying us

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

-- 
caldav : Calendar Collections : Fields in 'groupby' must appear in the list of fields to read
https://bugs.launchpad.net/bugs/673899
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Committed

Bug description:
 * Knowledge > Configuration > Calendar Collection
     *  Tree View:
         Click on Group by "Type" and "Storage" following error appears:

Traceback (most recent call last):
  File "/home/tiny/workspace/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/tiny/workspace/trunk/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/tiny/workspace/trunk/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/tiny/workspace/trunk/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/tiny/workspace/trunk/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/tiny/workspace/trunk/server/bin/osv/orm.py", line 2238, 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?)







References