← 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

 

Hello Cloves,

I have checked your issue, Same code exist in trunk that's why I have checked in trunk.
But I didn't faced any problem , I have seen the ""product assigned" procurement.

I have attached a video for your more information, So would you please
check it and notify us where you faced the problem.

Thanks and waiting for your reply!

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