use warehouse._get_mto_route to get the MTO route
authorAlexandre Fayolle <alexandre.fayolle@camptocamp.com>
Mon, 22 Sep 2014 12:20:45 +0000 (14:20 +0200)
committerJosse Colpaert <jco@odoo.com>
Tue, 30 Sep 2014 08:31:33 +0000 (10:31 +0200)
commit817e459d43156848fe16fc0a49465c2f18f3d453
tree564c40b1418b5d7b0980b3c318b410c869c1c8b0
parent58301b99e8c889dc033f4e7a6f4ef77a31d6b1f4
use warehouse._get_mto_route to get the MTO route

instead of using a custom lookup with a different implementation
closes #2608

pass context as a named argument
addons/mrp/mrp.py
addons/sale_stock/sale_stock.py