Commit Graph

35 Commits

Author SHA1 Message Date
Núria Martín Xifré
5d5f3f0bf0 [13.0][IMP] mrp_multi_level: index llc 2020-09-14 10:31:44 +02:00
hveficent
a94b2406cd [IMP] mrp_multi_level:
* Stock Moves Domain moved to product mrp area
2020-07-16 13:23:24 +02:00
OCA-git-bot
8a6ed280b4 pre-commit update 2020-03-14 12:13:10 +01:00
Lois Rilo
7a3cdd2af7 [11.0][FIX] mrp_multi_level: origin for "mv" was never being set.
Also, improve mrp.move by using picking name if the move is part of a picking.

[13.0] set "mo" as origin also for material consumption moves.
2020-03-13 09:47:28 +01:00
hveficent
eab1941a5d [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).
2020-03-11 09:20:58 +01:00
hveficent
476fd79d85 [IMP] mrp_multi_level: Minor changes
* Planned Orders become fixed on manual creation by default
* Released Quantity become readonly
* Add product reference if Planned Order name is not defined on bom explosion
2020-02-28 13:12:36 +01:00
hveficent
071c577578 [IMP] mrp_multi_level: Show supply method on mrp inventory 2020-02-03 09:22:24 +01:00
Lois Rilo
d0765c3d87 [13.0][MIG] mrp_multi_level 2019-12-23 10:10:14 +01:00
Lois Rilo
cd26ec8c68 [IMP] mrp_multi_level: black, isort 2019-12-23 10:10:14 +01:00
Lois Rilo
9d1e489e54 [12.0][FIX] mrp_multi_level: when grouping demand, if supply and
demand moves have the same date it can happen that the supply is
effectively ignored if considered as staring move of the
grouping and there are more groups to be done after it.

A test case include in this fix depicts in detail the
the problem and ensures no regression.
2019-12-23 10:10:14 +01:00
Lois Rilo
01342a1c52 [12.0][FIX] mrp_multi_level: creating undesired planned orders.
add another exclude point at planned order creation.
2019-12-23 10:10:14 +01:00
Lois Rilo
f5483cb563 [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.
2019-12-23 10:10:14 +01:00
Lois Rilo
2ccba7fccd [11.0][MIG] mrp_multi_level: open MRP inventory screen if manually run 2019-12-23 10:10:14 +01:00
Lois Rilo
77e9825e0d [11.0][IMP] mrp_multi_level: able to group demand estimates or to ignore them. 2019-12-23 10:10:14 +01:00
Lois Rilo
ebe2e8a4d4 [11.0][FIX] mrp_multi_level: pass a context to exclude hook when exploding. 2019-12-23 10:10:14 +01:00
Lois Rilo
a0445e96b8 [11.0][IMP] mrp_multi_level: able to procure from a different location than area's. 2019-12-23 10:10:14 +01:00
Lois Rilo
6a86bbe7c5 [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.
2019-12-23 10:10:14 +01:00
Lois Rilo
d224b1931f [11.0][IMP] mrp_multi_level:
* Able to run MRP only for selected areas.
 * Clean logging messages.
2019-12-23 10:10:14 +01:00
Lois Rilo
56b12548b0 [11.0][IMP] mrp_multi_level: be able to group demand when generating supply proposals 2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
5c9bd4278e Fixes, and add migration script 2019-12-23 10:10:14 +01:00
Lois Rilo
c0c5fb861f [11.0] mrp_multi_level:
* fix api.depends fields fro main supplier.
 * fix ordering and missing demo file in manifest.
 * Update README.
 * fix action_view* methods.
 * readd hook to exclude in mrp initialization
 * fix computation of qty available (it was considering several times sub-locations).
 * Remove contraint for outoing and incoming moves to be moved in/outside the company, they can be internal transfers.
 * mrp.moves visible with technical settings.
 * Show product and allow to search by it in mrp.inventory.
2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
416c26f78d [11.0][mrp_multi_level] refactor mrp area 2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
1bbbf1d7df convert read_groups into sql queries due to issue with locale 2019-12-23 10:10:14 +01:00
Lois Rilo
7b322bb075 mrp_multi_level: date_planned must be passed on as datetime. 2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
52217ff648 mrp_multi_level:
* during bom explosion consider only stockable products in the BOM.
* add logo
* add rounding on application of stock demand estimates.
2019-12-23 10:10:14 +01:00
Lois Rilo
ca6d93ecd6 [11.0][FIX] Consider *Qty Multiple* on product to propose the quantity to procure. 2019-12-23 10:10:14 +01:00
Lois Rilo
d6a2f1fa23 [11.0][FIX] mrp_multi_level:
* calendar defined only in warehouse.
 * remove raw query.
2019-12-23 10:10:14 +01:00
Lois Rilo
e4c0468877 [11.0][FIX] mrp_multi_level: the user and system locales could make the MRP run break. 2019-12-23 10:10:14 +01:00
Lois Rilo
d852b86b4e [11.0][UPD] mrp_multi_level: update README and manifest to OCA standards. 2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
5b09374192 rename 'date_to_procure' to 'order_release_date' 2019-12-23 10:10:14 +01:00
Jordi Ballester Alomar
50b38345e4 add resource calendar to mrp area 2019-12-23 10:10:14 +01:00
Lois Rilo
c9bb19e5ab [11.0][IMP] mrp_multi_level: reduce qty to procure with each procure done. 2019-12-23 10:10:14 +01:00
Lois Rilo
3b3b137e89 [11.0] mrp_multi_level: cleanup:
* remove unneded methods
 * fix pylint
 * fix style
2019-12-23 10:10:14 +01:00
Lois Rilo
312675d300 [11.0][IMP] mrp_multi_level: improve usability 2019-12-23 10:10:14 +01:00
Lois Rilo
44fc4142a2 [11.0][REN] multi_level_mrp -> mrp_multi_level 2019-12-23 10:10:14 +01:00