← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 867054] [NEW] when selecting record of m2o field object, its generate Traceback

 

Public bug reported:

Auction > buyer > bid > new > bid line > m2o/object field

Client Traceback (most recent call last):
  File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 162, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 752, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 748, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 373, in proxy
    *args)
  File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 102, in send
    return getattr(service, method)(*args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])


Server Traceback (most recent call last):
  File "/home/han/rdtool/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
    result = openerp.netsvc.dispatch_rpc(service, method, params)
  File "/home/han/rdtool/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/han/rdtool/server/trunk/openerp/service/web_services.py", line 573, in dispatch
    res = fn(db, uid, *params)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: name_search() takes at most 7 arguments (8 given)

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/867054

Title:
  when selecting record of m2o field object, its generate Traceback

Status in OpenERP Web:
  New

Bug description:
  Auction > buyer > bid > new > bid line > m2o/object field

  Client Traceback (most recent call last):
    File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 162, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 752, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 748, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 373, in proxy
      *args)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 102, in send
      return getattr(service, method)(*args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
      result = openerp.netsvc.dispatch_rpc(service, method, params)
    File "/home/han/rdtool/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/han/rdtool/server/trunk/openerp/service/web_services.py", line 573, in dispatch
      res = fn(db, uid, *params)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
  TypeError: name_search() takes at most 7 arguments (8 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/867054/+subscriptions


Follow ups

References