mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
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:
committed by
Ben Stannard
parent
c760b83ffb
commit
694e2852f5
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user