← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

This isn't a good strategy for this objective, with my patch if the origin move was part of any production it can fail too, because the child quantity is more than move quantity. 
Anyway this file uses move_history_ids2 (parents) instead of move_history_ids (childs), but it isn't a good strategy, this wizard must be rewrited.

** Changed in: openobject-addons
       Status: New => Opinion

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/798292

Title:
  Return stock moves with parents is impossible

Status in OpenERP Modules (addons):
  Opinion

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


References