[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.
This commit is contained in:
Arnold Moyaux
2018-08-13 15:38:34 +02:00
parent 107b275a18
commit 51ae8a341b
-1
View File
@@ -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',