c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34499
[Bug 872245] Re: 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 => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
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/872245
Title:
Fields in 'groupby' must appear in the list of fields to read (perhaps
it's missing in the list view?)
Status in OpenERP Addons (modules):
Confirmed
Bug description:
In Leave Analysis report, while clicking on the category button on
group by i get trackback :
Traceback (most recent call last):
File "/home/amit/sources/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/sources/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/sources/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/sources/server/trunk/openerp/osv/orm.py", line 2399, 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/872245/+subscriptions
References