mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Update stock_location_children/models/stock_location.py
This commit is contained in:
@@ -17,7 +17,7 @@ class StockLocation(models.Model):
|
||||
help="All the children (multi-level) stock location of this location",
|
||||
)
|
||||
|
||||
@api.depends("child_ids", "child_ids.children_ids")
|
||||
@api.depends("child_ids", "child_ids.child_ids")
|
||||
def _compute_children_ids(self):
|
||||
query = """SELECT sub.id, ARRAY_AGG(sl2.id) AS children
|
||||
FROM stock_location sl2,
|
||||
|
||||
Reference in New Issue
Block a user