diff --git a/stock_location_children/models/stock_location.py b/stock_location_children/models/stock_location.py index 6f2b9e60b..f872641f4 100644 --- a/stock_location_children/models/stock_location.py +++ b/stock_location_children/models/stock_location.py @@ -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,