← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.1 procurement reservation stock

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


Follow ups

References