[FIX] stock: Only search routes on warehouse if warehouse is set.
[FIX] stock: Only search routes on warehouse if warehouse is set.

It could happens that search_rule do not receive a warehouse_id.
In this case warehouse.route_ids does not work.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo