Commit Graph

21 Commits

Author SHA1 Message Date
Matt Taylor
3fd6036ca8 [FIX] mrp_multi_level: fix kit/phantom planning
fixes #1362

Ignoring qty_available for phantom products prevents double counting the
qty_available of components.

Creating planned orders for phantom products is simpler than recursively
exploding phantom BOMs. This also makes it easier to analyze the planning data
generated by the MRP calculation.
2024-11-07 12:09:36 +01:00
JasminSForgeFlow
fa027b500d [MIG] mrp_multi_level: Migration to 17.0 2024-04-04 11:17:28 +05:30
LaiaTForgeFlow
b781a4b168 [FIX]mrp_multi_level: avoid mixing str with boolean 2024-03-26 08:57:58 +05:30
Lois Rilo
3a24bc38f1 [IMP] mrp_multi_level: enchance traceability with origin.
* keept description of planned orders verbose.
* make it translatable in most cases.
* while grouping demand include the product in the description.
* add `origin` field not mrp moves and planned orders. Fill it
  with top level demand origin.
2024-03-26 08:57:58 +05:30
Jordi Ballester
726ccec7e8 improve usage of planned orders. - The description of the planned order includes the topmost requirement that caused the planned order. This makes it easier to trace, for example, what planned orders has a given sales order generated. The description of the planned order is passed on to the Manufacturing Orders / Purchase Orders / Transfers as the origin, so it can be possible to search for PO's / MO's that were originated as a result of a given sales order, for example.
- The MRP Inventory tree view is improved so as to add a button to allow you to
  jump to the planned orders.
2024-03-26 08:57:58 +05:30
Lois Rilo
20cd0decd9 [FIX] mrp_multi_level: date_planned required as date object after change upstream.
Due to aec7fcdb69.
2024-03-26 08:57:58 +05:30
Christopher Ormaza
6eb561e1c3 [15.0][MIG] mrp_multi_level 2024-03-26 08:57:58 +05:30
Jordi Ballester
bf380e82de [mrp_multi_level][fix] allow to procure from planned orders 2024-03-26 08:57:58 +05:30
hveficent
ae95609b34 [IMP] mrp_multi_level:
* Planned Order release and due date become required.
* Add button to Product MRP Area to update MOQ from Supplier Info.
* Link Manufacturing Orders with Planned Orders.
* Allow Mrp Inventory Procure Wizard to be used from other models.
* Make MRP Inventory creation more extensible.
* Main Supplier computation (v13 requires explicit False definitions).
2024-03-26 08:57:58 +05:30
hveficent
1bd8a2cbe3 [IMP] mrp_multi_level: Show supply method on mrp inventory 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
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
eacba99da2 [11.0][IMP] mrp_multi_level: able to procure from a different location than area's. 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
Jordi Ballester Alomar
5f213dad8f [11.0][mrp_multi_level] refactor mrp area 2024-03-26 08:57:58 +05:30
Lois Rilo
d528e5b448 mrp_multi_level: date_planned must be passed on as datetime. 2024-03-26 08:57:58 +05:30
Lois Rilo
f3cf35190b [11.0][FIX] Consider *Qty Multiple* on product to propose the quantity to procure. 2024-03-26 08:57:58 +05:30
Lois Rilo
80e1732fdd [11.0][IMP] mrp_multi_level: reduce qty to procure with each procure done. 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