Commit Graph

278 Commits

Author SHA1 Message Date
oca-ci
ba37fbc7c0 [UPD] Update mrp_multi_level.pot 2024-11-07 08:52:02 +00:00
OCA-git-bot
3f3d8384bb Merge PR #1367 into 16.0
Signed-off-by LoisRForgeFlow
2024-11-07 08:48:04 +00:00
OCA-git-bot
dbd7cf9cea [BOT] post-merge updates 2024-10-30 11:54:09 +00:00
Matt Taylor
33cf4af1ac [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-10-29 07:53:58 -06:00
Matt Taylor
f1534187f4 [IMP] mrp_multi_level: mrp cleanup performance
- Index the planned_order_id column on mrp.production model
- Delete from mrp.planned.order before deleting from mrp.inventory
2024-10-22 09:38:16 -06:00
OCA-git-bot
49a41be5a3 [BOT] post-merge updates 2024-08-28 13:09:43 +00:00
Lois Rilo
b4da05c6cf [IMP] mrp_multi_level: better logs during calculation
* Explicitly log which area and LLC is being computed.
* Correct LLC being logged.
2024-08-14 16:13:53 +02:00
OCA-git-bot
e412295e3c [BOT] post-merge updates 2024-07-30 10:21:15 +00:00
OCA-git-bot
d7eb6f8ac1 Merge PR #1330 into 16.0
Signed-off-by LoisRForgeFlow
2024-07-30 10:16:57 +00:00
JordiMForgeFlow
37661b2189 [IMP] mrp_multi_level: hook for method to get rule 2024-07-30 11:50:14 +02:00
OCA-git-bot
733f237de1 [BOT] post-merge updates 2024-07-29 14:35:40 +00:00
OCA-git-bot
df2cb56857 Merge PR #1326 into 16.0
Signed-off-by LoisRForgeFlow
2024-07-29 14:31:15 +00:00
Jordi Ballester Alomar
4587caa27d [IMP] mrp_multi_level: add hooks to improve extensibility 2024-07-29 14:41:23 +02:00
OCA-git-bot
1ca36957c2 [BOT] post-merge updates 2024-07-23 13:54:10 +00:00
JordiMForgeFlow
9ded6c0dcf [IMP] mrp_multi_level: fix typo 2024-07-23 15:38:10 +02:00
OCA-git-bot
31771346f2 [BOT] post-merge updates 2024-07-18 11:10:48 +00:00
JordiMForgeFlow
013ad6eda4 [IMP] mrp_multi_level: use area from component in the explosion vals 2024-07-17 16:47:31 +02:00
Weblate
9299fc4792 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/
2024-07-15 15:24:27 +00:00
OCA-git-bot
c6e3ec31b3 [BOT] post-merge updates 2024-07-15 15:24:20 +00:00
oca-ci
9b333969cd [UPD] Update mrp_multi_level.pot 2024-07-15 15:19:42 +00:00
AlexPForgeFlow
b0d1894b7f [IMP] mrp_multi_level: add MRP Area smart button on stock locations 2024-07-15 17:14:26 +02:00
mymage
f2a72ebe4c Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/it/
2024-02-29 17:34:04 +00:00
OCA-git-bot
ff96929308 [BOT] post-merge updates 2024-02-21 08:48:09 +00:00
oca-ci
2b71877e91 [UPD] Update mrp_multi_level.pot 2024-02-21 08:44:22 +00:00
BernatPForgeFlow
2768069579 [FIX] mrp_multi_level: Prioritize safety stock with mrp moves today
If I have 0 units, my safety stock is 5 units and today I have a supply for 10 units, the procurement recommendation should be 0 units
2024-02-20 16:49:39 +01:00
OCA-git-bot
5dc6f0ec78 [BOT] post-merge updates 2024-02-14 08:14:25 +00:00
oca-ci
352b143d09 [UPD] Update mrp_multi_level.pot 2024-02-14 08:10:36 +00:00
Lois Rilo
ada559c654 [FIX] mrp_multi_level: wrong safety stock intial order in grouped demand mode
Three tests cases modelize the issues being solved.
2024-02-14 08:43:56 +01:00
OCA-git-bot
1179d9616a [BOT] post-merge updates 2024-01-31 07:30:11 +00:00
Lois Rilo
f938000d45 [FIX] mrp_multi_level: ariable 'move' referenced before assignment 2024-01-31 08:19:41 +01:00
Weblate
a98342a358 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/
2024-01-24 19:06:52 +00:00
OCA-git-bot
9d0af27f3f [BOT] post-merge updates 2024-01-24 19:06:40 +00:00
oca-ci
f6f350699d [UPD] Update mrp_multi_level.pot 2024-01-24 19:02:49 +00:00
Lois Rilo
db6b3d03e1 [IMP] mrp_multi_level: add date to default grouping filters
It is the default colum for pivot view.
2024-01-24 11:49:17 -07:00
OCA-git-bot
0284b2cf0e [BOT] post-merge updates 2024-01-24 15:55:47 +00:00
Lois Rilo
85d466a3dc [FIX] mrp_multi_level: starting qty on hand wrong when using lots
Unify the way to get the starting on hand whenever needed in MRP
calculations.
2024-01-24 08:48:54 -07:00
OCA-git-bot
fbd28ad7dc [BOT] post-merge updates 2024-01-24 15:42:51 +00:00
oca-ci
0e9cde8fab [UPD] Update mrp_multi_level.pot 2024-01-24 15:39:01 +00:00
Alexandre Fayolle
099c5a594e [IMP] mrp_multi_level: safety stock
When a product has a safety stock in an area, and the current stock is
below safety, but there are moves in the future, mrp_multi_level does
not compute an immediate action to get back to the safety stock.

This PR changes this behavior: when the mrp_moves are considered, before
processing the first move in the future, we insert a resupply action to
rebuild the safety stock.

We also add some refactoring in the process:

* add extension point on the wizard to compute the quantity to reorder
(so we can choose in a separate module whether to rebuild safety stock
or not)
* add extension point on the wizard to get the date at which the safety
stock must be rebuilt (defaults to today)
* make the code of the wizard symetric between the groupes and non
grouped configuration
2024-01-24 08:33:13 -07:00
mymage
006a592899 Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/it/
2023-12-20 15:33:43 +00:00
mymage
a61fd536aa Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/it/
2023-12-18 09:33:50 +00:00
OCA-git-bot
4370b87142 [BOT] post-merge updates 2023-12-13 15:43:27 +00:00
Alexandre Fayolle
d3fc62116d [IMP] mrp_multi_level: reduce some logging
When running the multi level planner, the wizard will delete the records
from the previous run (mrp.inventory, mrp.move, mrp.planned.order).
There can be hundreds of such records, and the call to unlink() will
create a log entry which is not really informative. We disable this log
during the call to the wizard (but keep if for manual unlinking of the
records which we want to trace).
2023-12-13 16:37:23 +01:00
OCA-git-bot
3fc1e910a8 [BOT] post-merge updates 2023-12-13 15:21:20 +00:00
Alexandre Fayolle
22370b4b95 [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-13 16:14:35 +01:00
OCA-git-bot
f6c8dd40a9 [BOT] post-merge updates 2023-11-30 08:45:25 +00:00
BernatPForgeFlow
d0a71eb4ba [FIX] mrp_multi_level: Correct main supplier when changing sequence in Vendor Pricelist
When we change the sequence order of the Vendor Pricelist for a product, we firstly fetch the vendors and then we change the sequence. Then, when changing a sequence we try to get the first supplier but we do not get the desired result.
Reordering the suppliers allows to always get the first supplier in the list.
2023-11-30 09:32:54 +01:00
mymage
087af09602 Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level/it/
2023-11-22 15:37:04 +00:00
OCA-git-bot
4b95d68128 [BOT] post-merge updates 2023-11-16 09:18:38 +00:00
AaronHForgeFlow
9502f192df [IMP] mrp_multi_level: access action 2023-11-16 09:55:38 +01:00