← Back to team overview

openerp-india team mailing list archive

[Bug 1033975] Re: On automatic procurement, reservations are not made because of error in stock_location._product_reserve

 

** Attachment added: "product_reserve.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/1033975/+attachment/3263755/+files/product_reserve.ogv

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

-- 
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):
  Incomplete

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