Commit Graph

11 Commits

Author SHA1 Message Date
Alexandre Fayolle
9ee1c33d17 [REF] mrp_multi_level: location management
Small refactoring adding a _get_locations method on product.mrp.area
which by defaults delegates the computation to the related mrp.area.

This enables extending a few things related to locations at the
product.mrp.area level.

Change the way `_get_locations()` work: don't return the list of child
locations, only the top-most locations, and then use the `child_of`
operator in the code that looks for locations.
2024-03-26 08:57:58 +05:30
Lois Rilo
a0e7070dd0 [FIX] mrp_multi_level: Consider timezone of the warehouse to generate mrp inventory records. 2024-03-26 08:57:58 +05:30
Lois Rilo
e1e5f42704 [13.0][MIG] mrp_multi_level 2024-03-26 08:57:58 +05:30
Lois Rilo
6de26bb868 [IMP] mrp_multi_level: black, isort 2024-03-26 08:57:58 +05:30
Jordi Ballester Alomar
5096c85a0b add support for multi-company 2024-03-26 08:57:58 +05:30
Lois Rilo
6cea6211e4 [12.0][MIG] mrp_multi_level:
* You can know integrate with different forecasting mechanisms.
  As a consequence integration with stock_demand_estimate is moved
  to a new module (mrp_multi_level_estimate).
* As agreed by the authors, the module is re-licensed to LGPL-3.
2024-03-26 08:57:58 +05:30
Lois Rilo
68a7cb40cb [11.0][REW/IMP] mrp_multi_level:
* Extract concept of planned orders from mrp.move.
* Fix error grouping demand when there is no supply for a the first day of grouping.
* Adapt tests.
2024-03-26 08:57:58 +05:30
Lois Rilo
b66c333eea [11.0][FIX] mrp_multi_level:
* calendar defined only in warehouse.
 * remove raw query.
2024-03-26 08:57:58 +05:30
Jordi Ballester Alomar
87b3bbadd6 add resource calendar to mrp area 2024-03-26 08:57:58 +05:30
Lois Rilo
6de516ba60 [11.0] mrp_multi_level: cleanup:
* remove unneded methods
 * fix pylint
 * fix style
2024-03-26 08:57:58 +05:30
Lois Rilo
4de1899aa1 [11.0][REN] multi_level_mrp -> mrp_multi_level 2024-03-26 08:57:58 +05:30