Commit Graph

368 Commits

Author SHA1 Message Date
ps-tubtim
27745f758f [IMP] mrp_workorder_sequence: black, isort 2024-04-24 08:52:55 +02:00
oca-travis
6c7f3d3e10 [UPD] Update mrp_workorder_sequence.pot 2024-04-24 08:52:55 +02:00
Lois Rilo
6de91ff681 fixup! [12.0][ADD] mrp_workorder_sequence 2024-04-24 08:52:55 +02:00
Lois Rilo
930401f706 [12.0][ADD] mrp_workorder_sequence 2024-04-24 08:52:55 +02:00
OCA-git-bot
114dcdec2f [BOT] post-merge updates 2024-04-04 10:36:28 +00:00
oca-ci
6f5f98de4d [UPD] Update mrp_multi_level.pot 2024-04-04 10:33:55 +00:00
OCA-git-bot
8f6c27434a Merge PR #1234 into 17.0
Signed-off-by LoisRForgeFlow
2024-04-04 10:31:19 +00:00
JasminSForgeFlow
fa027b500d [MIG] mrp_multi_level: Migration to 17.0 2024-04-04 11:17:28 +05:30
Weblate
1b342990e7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-17.0/manufacture-17.0-mrp_bom_tracking
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_bom_tracking/
2024-03-26 12:09:29 +00:00
OCA-git-bot
817ade7817 [BOT] post-merge updates 2024-03-26 10:35:55 +00:00
oca-ci
ddd819d5d0 [UPD] Update mrp_bom_tracking.pot 2024-03-26 10:33:39 +00:00
OCA-git-bot
7931593dfb Merge PR #1226 into 17.0
Signed-off-by LoisRForgeFlow
2024-03-26 10:31:45 +00:00
Andreu Orensanz
eeb307ec91 [MIG] mrp_bom_tracking: Migration to 17.0 2024-03-26 10:49:00 +01:00
JasminSForgeFlow
03d6936f5a [IMP] mrp_multi_level: black, isort, prettier 2024-03-26 08:57:59 +05:30
mymage
070c2d9b17 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-03-26 08:57:59 +05:30
OCA-git-bot
3868678478 [BOT] post-merge updates 2024-03-26 08:57:59 +05:30
oca-ci
7fe18d0470 [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:59 +05:30
BernatPForgeFlow
1fa99aa6ee [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-03-26 08:57:59 +05:30
OCA-git-bot
2f0d00f955 [BOT] post-merge updates 2024-03-26 08:57:59 +05:30
oca-ci
e0f424cf10 [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:59 +05:30
Lois Rilo
b7de10a2c5 [FIX] mrp_multi_level: wrong safety stock intial order in grouped demand mode
Three tests cases modelize the issues being solved.
2024-03-26 08:57:59 +05:30
OCA-git-bot
2af734dc7e [BOT] post-merge updates 2024-03-26 08:57:59 +05:30
Lois Rilo
f7f387e488 [FIX] mrp_multi_level: ariable 'move' referenced before assignment 2024-03-26 08:57:58 +05:30
Weblate
93f5d006d0 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-03-26 08:57:58 +05:30
OCA-git-bot
6c3b8229af [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
oca-ci
8a4e22c650 [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:58 +05:30
Lois Rilo
dcb46086ee [IMP] mrp_multi_level: add date to default grouping filters
It is the default colum for pivot view.
2024-03-26 08:57:58 +05:30
OCA-git-bot
4f55ab8c01 [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
Lois Rilo
f59e3d602a [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-03-26 08:57:58 +05:30
OCA-git-bot
71ed536c94 [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
oca-ci
5fed6da688 [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:58 +05:30
Alexandre Fayolle
5d5a8a717d [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-03-26 08:57:58 +05:30
mymage
18ab878ee5 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-03-26 08:57:58 +05:30
mymage
f77fa7cfe5 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-03-26 08:57:58 +05:30
OCA-git-bot
ee9edb0a2b [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
Alexandre Fayolle
5558b98d75 [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).
2024-03-26 08:57:58 +05:30
OCA-git-bot
007f741220 [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
Alexandre Fayolle
9ee1c33d17 [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.
2024-03-26 08:57:58 +05:30
OCA-git-bot
f51e2b00a3 [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
BernatPForgeFlow
b9eeb3c36e [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.
2024-03-26 08:57:58 +05:30
mymage
dfecd6ee69 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-03-26 08:57:58 +05:30
OCA-git-bot
dca8b738c2 [BOT] post-merge updates 2024-03-26 08:57:58 +05:30
AaronHForgeFlow
e2bb80a96c [IMP] mrp_multi_level: access action 2024-03-26 08:57:58 +05:30
mymage
a6e2e6203a 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-03-26 08:57:58 +05:30
mymage
541478f310 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-03-26 08:57:58 +05:30
mymage
cc9a8160a9 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-03-26 08:57:58 +05:30
Francesco Foresti
ad95b6ff0c 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-03-26 08:57:58 +05:30
mymage
a389fff828 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-03-26 08:57:58 +05:30
OCA-git-bot
b0122a071e [UPD] README.rst 2024-03-26 08:57:58 +05:30
Ivorra78
fe662513ba Translated using Weblate (Spanish)
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/es/
2024-03-26 08:57:58 +05:30