Remove _order override in stock.location

The default order of stock.location is 'complete_name'.
Changing it to "name" can have side effects, and shouldn't be required
for stock_inventory_lockdown.

See https://github.com/OCA/stock-logistics-warehouse/pull/811/files#r512797834
This commit is contained in:
Guewen Baconnier
2020-10-28 08:44:24 +01:00
committed by Ben Stannard
parent c760b83ffb
commit 694e2852f5

View File

@@ -9,7 +9,6 @@ class StockLocation(models.Model):
"""Refuse changes during exhaustive Inventories"""
_inherit = "stock.location"
_order = "name"
@api.constrains("location_id")
def _check_inventory_location_id(self):