← Back to team overview

openerp-india team mailing list archive

[Bug 997028] [NEW] Return picking wizard is not working

 

Public bug reported:

Hello,

Step To produce

1] Install a stock module 
2] open a list view of Delivery Orders
3] Now try to return picking which record state in "confirmed"  and " assigned "
4] so it's give a traceback 

Traceback (most recent call last):
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/mma/home/workplace/rdtools/addons/trunk/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/mma/home/workplace/rdtools/server/trunk/openerp/osv/orm.py", line 1485, in default_get
    self.view_init(cr, uid, fields_list, context)
  File "/home/mma/home/workplace/rdtools/addons/trunk/stock/wizard/stock_return_picking.py", line 104, in view_init
    if m.product_qty * m.product_uom.factor > return_history[m.id]:
KeyError: 19


Thanks.
mma

** 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/997028

Title:
  Return picking wizard is not working

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  Step To produce

  1] Install a stock module 
  2] open a list view of Delivery Orders
  3] Now try to return picking which record state in "confirmed"  and " assigned "
  4] so it's give a traceback 

  Traceback (most recent call last):
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mma/home/workplace/rdtools/addons/trunk/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/mma/home/workplace/rdtools/server/trunk/openerp/osv/orm.py", line 1485, in default_get
      self.view_init(cr, uid, fields_list, context)
    File "/home/mma/home/workplace/rdtools/addons/trunk/stock/wizard/stock_return_picking.py", line 104, in view_init
      if m.product_qty * m.product_uom.factor > return_history[m.id]:
  KeyError: 19

  
  Thanks.
  mma

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


Follow ups

References