Commit Graph

11 Commits

Author SHA1 Message Date
Alexandre Fayolle
aadd0582ea [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.
2023-12-06 21:41:32 +01:00
Lois Rilo
1e460e851c [FIX] mrp_multi_level: Consider timezone of the warehouse to generate mrp inventory records. 2022-01-25 09:38:58 +01:00
Lois Rilo
71d6c4bb86 [13.0][MIG] mrp_multi_level 2022-01-25 09:38:57 +01:00
Lois Rilo
1df4ba9c0b [IMP] mrp_multi_level: black, isort 2022-01-25 09:38:57 +01:00
Jordi Ballester Alomar
502a865a83 add support for multi-company 2022-01-25 09:38:57 +01:00
Lois Rilo
6b5ae91df7 [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.
2022-01-25 09:38:57 +01:00
Lois Rilo
5c0224896e [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.
2022-01-25 09:38:57 +01:00
Lois Rilo
5c406d7fb7 [11.0][FIX] mrp_multi_level:
* calendar defined only in warehouse.
 * remove raw query.
2022-01-25 09:38:57 +01:00
Jordi Ballester Alomar
2709a921e4 add resource calendar to mrp area 2022-01-25 09:38:57 +01:00
Lois Rilo
818e17f7b1 [11.0] mrp_multi_level: cleanup:
* remove unneded methods
 * fix pylint
 * fix style
2022-01-25 09:38:57 +01:00
Lois Rilo
0e350a4640 [11.0][REN] multi_level_mrp -> mrp_multi_level 2022-01-25 09:38:57 +01:00