openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22190
[Bug 1101840] Re: [7.0] Traceback when accessing task when project group by parent_id
** Patch added: "Model should be same to append groupy context"
https://bugs.launchpad.net/openobject-addons/+bug/1101840/+attachment/3498230/+files/wrong_context_with_groupby.patch
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1101840
Title:
[7.0] Traceback when accessing task when project group by parent_id
Status in OpenERP Addons (modules):
Confirmed
Bug description:
version: runbot 7.0 / trunk
to reproduce:
- Go to project
- group by parent
- clic on task link on kanban view
see video.
Server Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-7-0-2004/server/openerp/osv/orm.py", line 2632, in read_group
assert groupby_def and groupby_def._classic_write, "Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True"
AssertionError: Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1101840/+subscriptions
References