← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

 * 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?)

** Affects: openobject-addons
     Importance: Medium
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1)
         Status: Confirmed

** Description changed:

-  * Knowledge > Configuration > Calendar Collection
-      *  Tree View:
-          Click on Group by "Type" and "Storage" following error appears :
- 		
+  * 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?)"
+   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?)

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

-- 
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: Confirmed

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?)







Follow ups

References