openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17537
[Bug 1075436] Re: Project related documents
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-api
--
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/1075436
Title:
Project related documents
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Hello,
Most latest Trunk : Getting traceback.
Steps:
Projects >> Open a project in form view, their is button "Documents",
Click on it.
We get below traceback.
Server Traceback (most recent call last):
File "/home/trunk/server/openerp/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/trunk/server/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/trunk/server/openerp/service/web_services.py", line 585, in dispatch
res = fn(db, uid, *params)
File "/home/trunk/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/trunk/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/trunk/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/trunk/server/openerp/addons/document/document.py", line 171, in search
context=context, count=False)
File "/home/trunk/server/openerp/osv/orm.py", line 2361, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/trunk/server/openerp/addons/base/ir/ir_attachment.py", line 61, in _search
access_rights_uid=access_rights_uid)
File "/home/trunk/server/openerp/osv/orm.py", line 4776, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/trunk/server/openerp/osv/orm.py", line 4625, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/home/trunk/server/openerp/osv/expression.py", line 371, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/home/trunk/server/openerp/osv/expression.py", line 430, in parse
raise ValueError("Invalid term %r in domain expression %r" % (e, exp))
ValueError: Invalid term ['|', '&', 'res_model', '=', 'project.project'] in domain expression ['&', '&', ['|', '&', 'res_model', '=', 'project.project'], ['res_id', 'in', [4]], '&', ['res_model', '=', 'project.task'], ['res_id', 'in', [8, 9, 12, 10, 11]]]
Thanks,
kettor
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1075436/+subscriptions
References