← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 643602] Re: [Trunk] Can't open related items in sidebar when main object is in a grouped List

 

** Changed in: openobject-client
       Status: Fix Released => Confirmed

-- 
[Trunk] Can't open related items in sidebar when main object is in a grouped List
https://bugs.launchpad.net/bugs/643602
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Confirmed

Bug description:
In Menu Project/project

I do Group by Parent and I open a project.
If I click on the linked tasks : 

Environment Information : 
System : Linux-2.6.32-24-generic-pae-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-24-generic-pae
Operating System Version : #43-Ubuntu SMP Thu Sep 16 15:30:27 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1563 nch@xxxxxxxxxxx-20100917132406-s82jksxvjrd8yh7y
Traceback (most recent call last):
  File "/home/laurent/workspace/OpenERP/bin/netsvc.py", line 439, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/laurent/workspace/OpenERP/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/laurent/workspace/OpenERP/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/laurent/workspace/OpenERP/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/laurent/workspace/OpenERP/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/laurent/workspace/OpenERP/bin/osv/orm.py", line 2229, 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?)