← Back to team overview

openerp-india team mailing list archive

[Bug 1234678] Re: [6.1][7.0][trunk][stock] Return a product must drop backorder data

 

Amit, that's normal that the backorder is empty as the original
backorder (OUT/0002 in your video) is also empty (see screenshot
attached).

If you want to reproduce:
You receive products with a quantity of 10 x PCE in OUT/00008:
- Change quantity to receive only 5 x PCE
- A new picking is created with quantity of 5 x PCE and a backorder is created (OUT/00009)
- Now receive remaining 5 x PCE
- Finally return products from the picking that contains a backorder
- You will see that that the returned picking has the same backorder


** Attachment added: "openerp-backorder.png"
   https://bugs.launchpad.net/openobject-addons/+bug/1234678/+attachment/3889592/+files/openerp-backorder.png

** Changed in: openobject-addons
       Status: Incomplete => 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/1234678

Title:
  [6.1][7.0][trunk][stock] Return a product must drop backorder data

Status in OpenERP Community Backports (Addons):
  Fix Committed
Status in OpenERP Addons (modules):
  New

Bug description:
  The backorder_id field must be set to False when creating the new
  return picking

  in "stock_return_picking.py"
  new_picking = pick_obj.copy(cr, uid, pick.id, {'name':'%s-%s-return' % (new_pick_name, pick.name),

  otherwise it will use the backorder_id of the original picking object
  -> invalid

  Fix for 6.1, 7.0, trunk is necessary

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


References