[stock][procurement] _find_suitable_rule should return first the value that can be obtained from the location_id at hand

Bug #1306775 reported by hbto [Vauxoo] http://www.vauxoo.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

[stock][procurement] _find_suitable_rule should return first the value that can be obtained from the location_id at hand
if no value is found continue with the next level of inventory.

I have made a patch proposal to show a PoC.

Best Regards.

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.