← Back to team overview

openerp-india team mailing list archive

[Bug 1240887] Re: Sales - scheduled calls menu gives error display

 

** Attachment added: "schedule call.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/1240887/+attachment/3880149/+files/schedule%20call.ogv

-- 
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/1240887

Title:
  Sales - scheduled calls menu gives error display

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  1) Steps to reproduce the issue you have observed
  Meny Sales -> Schedule calls
  2) The result you observed
  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
      response["result"] = method(self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1054, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1089, in do_search_read
      records = Model.read(ids, fields or False, req.context)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 103, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/openerp/osv/orm.py", line 3612, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/openerp/osv/orm.py", line 3732, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/opt/openerp/server/openerp/osv/fields.py", line 468, in get
      context=context))
    File "/opt/openerp/server/openerp/addons/base/res/res_partner.py", line 545, in name_get
      name = record.name
    File "/opt/openerp/server/openerp/osv/orm.py", line 486, in __getattr__
      return self[name]
    File "/opt/openerp/server/openerp/osv/orm.py", line 401, in __getitem__
      field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
    File "/opt/openerp/server/openerp/osv/orm.py", line 3612, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/openerp/osv/orm.py", line 3664, in _read_flat
      cr.execute(query, [tuple(sub_ids)] + rule_params)
    File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper
      return f(self, *args, **kwargs)
    File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: operator does not exist: integer = boolean
  LINE 1: ...artner.id FROM "res_partner" WHERE res_partner.id IN (false)...
                                                               ^
  HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

  3) The result you expected
  A clean list of schedule call items 

  4) The platform you are using (and browser version, if relevant)

  5) Version 7.0-20131014-231047 using Chromium 28 on Ubuntu 13.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1240887/+subscriptions


Follow ups

References