Commit Graph

875 Commits

Author SHA1 Message Date
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
OCA-git-bot
3edee149f3 Merge PR #1186 into 16.0
Signed-off-by LoisRForgeFlow
2024-01-24 15:35:53 +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
7f9f48c6e0 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_packaging_default
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_packaging_default/it/
2024-01-11 10:36:06 +00:00
mymage
aaf1e5debd Added translation using Weblate (Italian) 2024-01-11 07:44:48 +00:00
OCA-git-bot
60246aa2e9 [BOT] post-merge updates 2024-01-10 16:44:35 +00:00
oca-ci
f4f3adfc5a [UPD] Update mrp_packaging_default.pot 2024-01-10 16:40:35 +00:00
OCA-git-bot
e95174de94 Merge PR #1170 into 16.0
Signed-off-by grindtildeath
2024-01-10 16:37:19 +00:00
OCA-git-bot
1a59051549 [BOT] post-merge updates 2024-01-05 15:26:29 +00:00
oca-ci
fda8c40fc5 [UPD] Update mrp_lot_number_propagation.pot 2024-01-05 15:21:36 +00:00
OCA-git-bot
9471a0a371 Merge PR #1060 into 16.0
Signed-off-by grindtildeath
2024-01-05 15:18:33 +00:00
bosd
e839163a30 mrp_lot_number_propagation: Promote to Beta development status 2024-01-04 20:29:00 +01:00
Jairo Llopis
5b75b1bdc8 [ADD] mrp_packaging_default: product packaging data in MRP
This module allows and encourages the use of packaging within MRP, both to manufacture products or to create kits.

@moduon MT-4506
2023-12-22 10:43:48 +00: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
OCA-git-bot
1d27020ecc [BOT] post-merge updates 2023-12-20 07:34:52 +00:00
OCA-git-bot
b656fc17c9 Merge PR #1168 into 16.0
Signed-off-by pedrobaeza
2023-12-20 07:31:26 +00:00
Pedro M. Baeza
3333fa5cd3 [FIX] quality_control_oca: XML-ID must be fully qualified
Fixes #1167
2023-12-20 08:21:06 +01:00
mymage
449893e75f Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: manufacture-16.0/manufacture-16.0-mrp_lot_production_date
Translate-URL: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_lot_production_date/it/
2023-12-18 09:33:50 +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
e43065f99a [BOT] post-merge updates 2023-12-14 15:09:48 +00:00
OCA-git-bot
01f94975c1 Merge PR #1165 into 16.0
Signed-off-by LoisRForgeFlow
2023-12-14 15:06:13 +00:00
BernatPForgeFlow
b44295abaf [IMP] mrp_multi_level_estimate: Stock moves from MO should always be considered
When we consider forecasts as the 'Indirect' demand, we should always keep considering the demand coming from Manufacturing Orders, as they are 'Direct' demand.
2023-12-14 15:44:10 +01:00
bosd
483032eea1 [MIG] mrp_lot_number_propagation: Migration to 16.0 2023-12-13 17:44:31 +01:00
bosd
baf3d35cdf [IMP] mrp_lot_number_propagation: pre-commit execution 2023-12-13 17:44:31 +01:00
Francesco Foresti
daffc831a4 Translated using Weblate (Italian)
Currently translated at 100.0% (24 of 24 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_lot_number_propagation
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_lot_number_propagation/it/
2023-12-13 17:44:31 +01:00
mymage
97c312e2e5 Translated using Weblate (Italian)
Currently translated at 100.0% (24 of 24 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_lot_number_propagation
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_lot_number_propagation/it/
2023-12-13 17:44:31 +01:00
Weblate
f9363116f4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_lot_number_propagation
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_lot_number_propagation/
2023-12-13 17:44:31 +01:00
OCA-git-bot
29f26e0e2f mrp_lot_number_propagation 15.0.0.3.0 2023-12-13 17:44:31 +01:00
oca-ci
9919eab10e [UPD] Update mrp_lot_number_propagation.pot 2023-12-13 17:44:31 +01:00
Sébastien Alix
372e7ba307 mrp_lot_number_propagation: re-use existing lot 2023-12-13 17:44:31 +01:00
mymage
5ca8f945e0 Translated using Weblate (Italian)
Currently translated at 100.0% (23 of 23 strings)

Translation: manufacture-15.0/manufacture-15.0-mrp_lot_number_propagation
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_lot_number_propagation/it/
2023-12-13 17:44:31 +01:00
Weblate
e9baaffbba Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_lot_number_propagation
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_lot_number_propagation/
2023-12-13 17:44:31 +01:00
OCA-git-bot
eba68c396f mrp_lot_number_propagation 15.0.0.2.0 2023-12-13 17:44:31 +01:00
oca-ci
d626d274e4 [UPD] Update mrp_lot_number_propagation.pot 2023-12-13 17:44:31 +01:00
OCA-git-bot
2d8cca86be mrp_lot_number_propagation 15.0.0.1.1 2023-12-13 17:44:31 +01:00
Akim Juillerat
1acc9db078 mrp_lot_number_propagation: Add hook to get propagating component 2023-12-13 17:44:31 +01:00
Akim Juillerat
26db7f02c0 Allow to propagate lot from multiple BOM lines for variants
When defining a single BOM for a product template having multiple
product variants, we can have different components where the lot
number must be propagated for different product variants.

Therefore we need to allow to mark multiple BOM line with
propagate_lot_number, and to avoid complicating the check function
on the BOM lines, we ensure at the manufacturing order confirmation
that only a single component is set to propagate its lot number.
2023-12-13 17:44:31 +01:00
mymage
e6427038f3 Added translation using Weblate (Italian) 2023-12-13 17:44:31 +01:00
OCA-git-bot
6acbf55e11 [ADD] icon.png 2023-12-13 17:44:31 +01:00
OCA-git-bot
5e3f216b05 [UPD] README.rst 2023-12-13 17:44:31 +01:00
oca-ci
d69f4270ef [UPD] Update mrp_lot_number_propagation.pot 2023-12-13 17:44:31 +01:00
Sébastien Alix
407232cad9 [ADD] mrp_lot_number_propagation 2023-12-13 17:44:26 +01:00
OCA-git-bot
4370b87142 [BOT] post-merge updates 2023-12-13 15:43:27 +00:00
OCA-git-bot
934d15e4ca Merge PR #1159 into 16.0
Signed-off-by LoisRForgeFlow
2023-12-13 15:38:20 +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
OCA-git-bot
8b9f589adf Merge PR #1157 into 16.0
Signed-off-by LoisRForgeFlow
2023-12-13 15:18:00 +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