Commit Graph

284 Commits

Author SHA1 Message Date
RicardCForgeFlow
898e3c5052 [FIX] mrp_multi_level: avoid create warehouse in mrp area view 2025-01-10 16:38:33 +01:00
Isneyler Mosquera Preciado
5f6bf7a716 Translated using Weblate (Spanish)
Currently translated at 100.0% (171 of 171 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/es/
2024-12-24 18:06:21 +00:00
OCA-git-bot
c3188e4f4d [BOT] post-merge updates 2024-12-03 08:58:38 +00:00
Lois Rilo
aec8e8b42e [FIX] mrp_multi_level: delete params on cascade when deleting product. 2024-12-03 09:49:09 +01:00
OCA-git-bot
13941d59d5 [BOT] post-merge updates 2024-11-26 15:14:04 +00:00
Lois Rilo
01f3e9287c [FIX] mrp_multi_level: when a product is a kit do not check rule
When you procure a kit, it doesn't matter what the route configuration
is on the product itself but on its children, so it is not needed to
check anything else but the BoM to assign the 'phantom' supply
method.

Also do not assign a BoM when the supply method is not phantom or manufacture.
2024-11-26 16:01:03 +01:00
OCA-git-bot
b423d5be07 [BOT] post-merge updates 2024-11-19 08:09:14 +00:00
Lois Rilo
be2c9dc985 [FIX] mrp_multi_level: run tests after installation
to avoid conflicts with mrp_production_date_planned_finished module.
2024-11-18 15:57:28 +01:00
OCA-git-bot
9939b7917b [BOT] post-merge updates 2024-11-12 13:07:12 +00:00
Lois Rilo
1c49c1fb43 [FIX] mrp_multi_level: readd extensibility hook
_should_create_planned_order hook was unnoticely removed in
33cf4af1ac as it was not needed
anymore in the base module. However it is still an extension point
that can be used.
2024-11-12 13:57:49 +01:00
Weblate
0ca8110827 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/
2024-11-08 09:58:07 +00:00
OCA-git-bot
f0ab2d21ba [BOT] post-merge updates 2024-11-08 09:57:59 +00:00
oca-ci
f4aaaa211f [UPD] Update mrp_multi_level.pot 2024-11-08 09:52:42 +00:00
Matt Taylor
f1c795f7c4 [FIX] mrp_multi_level: check for variant bom
fixes #1366

Using the _bom_find() method, we get the BOM with lowest sequence, whether it's a variant
BOM or a template BOM (no product_id).
2024-11-08 10:46:25 +01:00
Weblate
c9867bde6d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/
2024-11-07 11:24:06 +00:00
OCA-git-bot
9e2135ca98 [BOT] post-merge updates 2024-11-07 11:23:59 +00:00
oca-ci
c9dda77241 [UPD] Update mrp_multi_level.pot 2024-11-07 11:18:55 +00:00
Matt Taylor
19bf0298f8 [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:08:46 +01:00
OCA-git-bot
05df31e4ed [BOT] post-merge updates 2024-10-30 12:02:37 +00:00
Matt Taylor
5ddf7717d4 [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-30 12:20:00 +01:00
OCA-git-bot
6386855972 [BOT] post-merge updates 2024-08-29 13:42:45 +00:00
Lois Rilo
5872a3b452 [IMP] mrp_multi_level: better logs during calculation
* Explicitly log which area and LLC is being computed.
* Correct LLC being logged.
2024-08-29 15:32:45 +02:00
OCA-git-bot
1791091f33 [BOT] post-merge updates 2024-07-31 07:03:20 +00:00
JordiMForgeFlow
a32c519f72 [IMP] mrp_multi_level: hook for method to get rule 2024-07-31 08:42:02 +02:00
OCA-git-bot
6cecd3b9a6 [BOT] post-merge updates 2024-07-30 08:01:59 +00:00
Jordi Ballester Alomar
efd9abc073 [IMP] mrp_multi_level: add hooks to improve extensibility 2024-07-30 09:50:58 +02:00
OCA-git-bot
8e918caa33 [BOT] post-merge updates 2024-07-18 12:07:34 +00:00
JordiMForgeFlow
9220ca9adf [IMP] mrp_multi_level: use area from component in the explosion vals 2024-07-18 13:11:11 +02:00
mymage
d5b8a32864 Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/it/
2024-05-17 12:36:53 +00:00
mymage
7172d0db5f Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/it/
2024-04-29 14:36:45 +00:00
mymage
6ff6cfde57 Translated using Weblate (Italian)
Currently translated at 100.0% (170 of 170 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/it/
2024-02-29 17:36:18 +00:00
OCA-git-bot
08bb448635 [BOT] post-merge updates 2024-02-21 08:48:28 +00:00
oca-ci
f5a73fff6b [UPD] Update mrp_multi_level.pot 2024-02-21 08:43:45 +00:00
BernatPForgeFlow
6dd80c9299 [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:04 +01:00
OCA-git-bot
dc38e3221b [BOT] post-merge updates 2024-02-13 17:00:53 +00:00
oca-ci
a611dac157 [UPD] Update mrp_multi_level.pot 2024-02-13 16:56:30 +00:00
Lois Rilo
8d811f3da6 [FIX] mrp_multi_level: wrong safety stock intial order in grouped demand mode
Three tests cases modelize the issues being solved.
2024-02-06 17:39:33 +01:00
OCA-git-bot
33b04fcf4f [BOT] post-merge updates 2024-01-30 16:35:32 +00:00
Lois Rilo
08faae373c [FIX] mrp_multi_level: ariable 'move' referenced before assignment 2024-01-25 18:31:05 -07:00
Weblate
113de7c2dd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/
2024-01-24 16:50:30 +00:00
OCA-git-bot
2d23b8ba51 [BOT] post-merge updates 2024-01-24 16:50:18 +00:00
oca-ci
2c7625000b [UPD] Update mrp_multi_level.pot 2024-01-24 16:45:26 +00:00
Lois Rilo
f39d6a1b17 [IMP] mrp_multi_level: add date to default grouping filters
It is the default colum for pivot view.
2024-01-24 09:35:24 -07:00
OCA-git-bot
f205f58d03 [BOT] post-merge updates 2024-01-24 15:30:19 +00:00
Lois Rilo
f9b9f19244 [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:23:03 -07:00
OCA-git-bot
5f13b06415 [BOT] post-merge updates 2024-01-24 15:16:49 +00:00
oca-ci
0dc5cc6d80 [UPD] Update mrp_multi_level.pot 2024-01-24 15:12:10 +00:00
Alexandre Fayolle
0484184450 [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-12 14:25:44 +01:00
OCA-git-bot
a9eede1bf3 [BOT] post-merge updates 2023-12-07 07:42:12 +00:00
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