← Back to team overview

openerp-india team mailing list archive

[Bug 1139130] Re: Internal moves serial number error

 

** Project changed: openobject-addons => openobject-server

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1139130

Title:
  Internal moves serial number error

Status in OpenERP Server:
  New

Bug description:
  Create a Incoming Shipments --- Add an item --- create: internal moves
  --- If you click on Select Product ,then Serial Number item will be
  reported the following error:

  
  OpenERP Server Error

  Client Traceback (most recent call last):
    File "/openerp/web/addons/web/http.py", line 195, in dispatch
      response["result"] = method(self, **self.params)
    File "/openerp/web/addons/web/controllers/main.py", line 1079, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/openerp/web/addons/web/controllers/main.py", line 1071, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/openerp/web/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/openerp/web/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/openerp/web/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/openerp/web/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/openerp/server/openerp/netsvc.py", line 295, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/openerp/server/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/openerp/server/openerp/osv/osv.py", line 131, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/openerp/server/openerp/osv/osv.py", line 198, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/openerp/addons/stock/stock.py", line 1409, in name_search
      ids = self.search(cr, uid, args, limit=limit, context=context)
    File "/openerp/server/openerp/osv/orm.py", line 2354, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/openerp/server/openerp/osv/orm.py", line 4843, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/openerp/server/openerp/osv/orm.py", line 4676, in _where_calc
      where_clause, where_params = e.to_sql()
    File "/openerp/server/openerp/osv/expression.py", line 1205, in to_sql
      q, p = self.__leaf_to_sql(leaf)
    File "/openerp/server/openerp/osv/expression.py", line 1156, in __leaf_to_sql
      query, params = self.__leaf_to_sql((left, '=', right), model)
  TypeError: __leaf_to_sql() takes exactly 2 arguments (3 given)

  If you do not input the product, Serial Number entry normal.

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