openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15007
[Bug 1042936] Re: Print Analytic Journal
** 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 3 (openerp-dev-addons3)
--
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/1042936
Title:
Print Analytic Journal
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Getting traceback:
Menu : Print Analytic Journal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenERP Server Error
Client Traceback (most recent call last):
File "/trunk/openerp/addons/web/common/http.py", line 181, in dispatch
response["result"] = method(controller, self, **self.params)
File "/trunk/openerp/addons/web/controllers/main.py", line 1052, in search_read
return self.do_search_read(req, model, fields, offset, limit, domain, sort)
File "/trunk/openerp/addons/web/controllers/main.py", line 1077, in do_search_read
ids = Model.search(domain, offset or 0, limit or False, sort or False, context)
File "/trunk/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/trunk/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/trunk/openerp/addons/web/common/session.py", line 66, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/trunk/openerp/addons/web/common/session.py", line 51, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/trunk/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/trunk/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/trunk/openerp/osv/orm.py", line 2267, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/trunk/openerp/osv/orm.py", line 4669, in _search
query = self._where_calc(cr, user, args, context=context)
File "/trunk/openerp/osv/orm.py", line 4518, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/trunk/openerp/osv/expression.py", line 359, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/trunk/openerp/osv/expression.py", line 449, in parse
dom = child_of_domain(left, ids2, working_table)
File "/trunk/openerp/osv/expression.py", line 393, in child_of_domain
return [(left, 'in', recursive_children(ids, left_model, parent or left_model._parent_name))]
File "/trunk/openerp/osv/expression.py", line 391, in recursive_children
ids2 = model.search(cr, uid, [(parent_field, 'in', ids)], context=context)
File "/trunk/openerp/osv/orm.py", line 2267, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/trunk/openerp/osv/orm.py", line 4669, in _search
query = self._where_calc(cr, user, args, context=context)
File "/trunk/openerp/osv/orm.py", line 4518, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/trunk/openerp/osv/expression.py", line 359, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/trunk/openerp/osv/expression.py", line 456, in parse
raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'parent_id' in domain expression ['&', ('active', '=', 1), ('parent_id', 'in', [1, 2, 3, 4, 5])]
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1042936/+subscriptions
References