← Back to team overview

openerp-india team mailing list archive

[Bug 798292] Re: Return stock moves with parents is impossible

 

Hi,

How can we fix it for now?

Thank you.

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

Title:
  Return stock moves with parents is impossible

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hi,

  If you have a move with parents moves inside any picking and you try return it, it fails, with this exception: "There are no products to return (only lines in Done state and not fully returned yet can be returned)!" 
  In the source, it checks if the quantity of move to return is less or equal than sum of quantities of his parents (move_history_ids2), that to know if this move was returned yet, but it's wrong, it must check his child moves (move_history_ids) where returns will be registered.

  Regards.

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