From 51ae8a341b49ae1bd26fd33fccb301482f14a080 Mon Sep 17 00:00:00 2001 From: Arnold Moyaux Date: Fri, 10 Aug 2018 13:56:38 +0200 Subject: [PATCH] [IMP] stock: remove apply on warehouse for crossdock route It should was useless since no warehouse was selected on it. Also the route was already applicable for product and product category. --- addons/stock/models/stock_warehouse.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/stock/models/stock_warehouse.py b/addons/stock/models/stock_warehouse.py index d80d23054ed..55a1f086e02 100644 --- a/addons/stock/models/stock_warehouse.py +++ b/addons/stock/models/stock_warehouse.py @@ -405,7 +405,6 @@ class Warehouse(models.Model): 'active': self.reception_steps != 'one_step' and self.delivery_steps != 'ship_only' }, 'route_create_values': { - 'warehouse_selectable': True, 'product_selectable': True, 'product_categ_selectable': True, 'active': self.delivery_steps != 'ship_only' and self.reception_steps != 'one_step',