openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13980
[Bug 1024145] Re: [trunk] ProgrammingError: operator does not exist: integer = boolean
Hello,
I have link a branch for this bug.
This can be the solution for this bug.
Thanks,
shp.
** Branch linked: lp:~openerp-commiter/openobject-addons/trunk-bug-1024145-shp
--
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/1024145
Title:
[trunk] ProgrammingError: operator does not exist: integer = boolean
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Using server, web and addons from trunk without demo data, I installed
events module and created few events.
When I click on Events analysis or Events dashboard, I get this error
message:
Client Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 1036, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 998, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/max/openerp/web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/home/max/openerp/web/trunk/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 608, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/max/openerp/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/max/openerp/server/trunk/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 2586, in read_group
data = self.read(cr, uid, data_ids, groupby and [groupby] or ['id'], context=context)
File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 3467, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 3523, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/max/openerp/server/trunk/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/home/max/openerp/server/trunk/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ..._registration" WHERE report_event_registration.id IN (NULL, ...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1024145/+subscriptions
References