odoo/addons/stock/tests
Alexandre Fayolle 74b7b97209 [FIX] stock: let resupply from warehouse work
If you set WH B to be resupplied from WH A, then the scheduler will
generate a procurement with warehouse_id = B and location_id = B.stock.
Running the procurement will find the resupply rule, and this will
create another procurement with warehouse_id = A and location_id =
transit location.

However, without this patch, the resupply route is not part of the
route_ids of warehouse A, and so the 2nd procurement goes in exception
because if cannot find a rule (the search will force a rule linked to a
route which is part of A.route_ids).

Closes #7956
2015-08-12 08:14:48 +02:00
..
__init__.py [FIX] stock: let resupply from warehouse work 2015-08-12 08:14:48 +02:00
common.py [ADD] Test cases of stock in new api. 2015-01-06 17:05:11 +01:00
test_owner_available.py [FIX] stock: use owner for virtual stock and in/out 2015-04-10 11:14:30 +02:00
test_resupply.py [FIX] stock: let resupply from warehouse work 2015-08-12 08:14:48 +02:00
test_stock_flow.py [FIX] Stock: Make sure inventory works with packs and lot = False 2015-03-13 12:11:17 +01:00