← Back to team overview

openerp-india team mailing list archive

[Bug 1050740] [NEW] [trunk] Return Shipment from More gives the traceback

 

Public bug reported:

Step to Reproduce:
      Install Warehouse    Receive/Deliver By Orders > Incoming Shipments 
      select record and from More select  Return Shipment  Gives the Traceback


Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/web/common/session.py", line 51, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/service/web_services.py", line 585, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/stock/wizard/stock_return_picking.py", line 63, in default_get
    res = super(stock_return_picking, self).default_get(cr, uid, fields, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/orm.py", line 1491, in default_get
    self.view_init(cr, uid, fields_list, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/stock/wizard/stock_return_picking.py", line 103, in view_init
    if m.product_qty * m.product_uom.factor > return_history[m.id]:
KeyError: 188

Thanks,
Rajesh

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  [trunk] Return Shipment from More gives the traceback

Status in OpenERP Addons (modules):
  New

Bug description:
  Step to Reproduce:
        Install Warehouse    Receive/Deliver By Orders > Incoming Shipments 
        select record and from More select  Return Shipment  Gives the Traceback

  
  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/web/common/session.py", line 51, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/service/web_services.py", line 585, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/stock/wizard/stock_return_picking.py", line 63, in default_get
      res = super(stock_return_picking, self).default_get(cr, uid, fields, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/osv/orm.py", line 1491, in default_get
      self.view_init(cr, uid, fields_list, context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-17118/server/openerp/addons/stock/wizard/stock_return_picking.py", line 103, in view_init
      if m.product_qty * m.product_uom.factor > return_history[m.id]:
  KeyError: 188

  Thanks,
  Rajesh

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


Follow ups

References