5 Commits

Author SHA1 Message Date
Guewen Baconnier
247da988cd Ensure children_ids is computed with proper triggers
* Any child_ids changed on a children_ids should recompute locations:
  otherwise only 2 levels are updated.
* Flush any change in the hierarchy before executing the SQL
2021-02-11 16:39:58 +01:00
Akim Juillerat
ef2f062cbb Update stock_location_children/models/stock_location.py 2021-02-11 16:39:58 +01:00
Akim Juillerat
0304279424 Run pre-commit 2021-02-11 16:39:58 +01:00
Akim Juillerat
95c8a2d494 Use SQL to improve performance 2021-02-11 16:39:58 +01:00
Akim Juillerat
78a1caeaf7 Create module stock_location_children 2021-02-11 16:39:58 +01:00