openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14330
[Bug 1033975] Re: On automatic procurement, reservations are not made because of error in stock_location._product_reserve
** Patch added: "product_reservation_patch.diff"
https://bugs.launchpad.net/bugs/1033975/+attachment/3251282/+files/product_reservation_patch.diff
--
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/1033975
Title:
On automatic procurement, reservations are not made because of error
in stock_location._product_reserve
Status in OpenERP Addons (modules):
New
Bug description:
On stable 6.1 branch, as of revno 6936.
Noticed that when trying to reserve a make-to-stock product, it
wouldn't do it reporting an error 'Not enough in stock' even though it
had enough.
The problem was that, contrary to what was specified, the
_product_reserve method in stock_location was only looking for stock
in children locations. If the picking order move line specified the
end node of the location tree, it wouldn't look at it.
The fix seems to be quite simple. Patch following
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1033975/+subscriptions
References