Commit Graph

324 Commits

Author SHA1 Message Date
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
Francesco Foresti
79fb7f4338 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
Ivorra78
1bfef7d248 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
Francesco Foresti
34250f1998 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
8d1f889357 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
Weblate
64379a0aef 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
8b411f35c5 mrp_multi_level 16.0.1.2.0 2024-03-26 08:57:58 +05:30
oca-ci
67fb1d809e [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:58 +05:30
BernatPForgeFlow
a283bb167d [IMP] mrp_multi_level: Add mrp_move tree view 2024-03-26 08:57:58 +05:30
OCA-git-bot
7d8282d8c9 mrp_multi_level 16.0.1.1.3 2024-03-26 08:57:58 +05:30
BernatPForgeFlow
512217bab0 [IMP] mrp_multi_level: Get BoM to explode
When exploding requirements or calculating supply method, we will consider the first active BoM taking into account the routes.
2024-03-26 08:57:58 +05:30
mymage
ffbeb8d941 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
Weblate
1aa78b749c 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
5cd7d4a430 mrp_multi_level 16.0.1.1.2 2024-03-26 08:57:58 +05:30
oca-ci
1d3f2cfab3 [UPD] Update mrp_multi_level.pot 2024-03-26 08:57:58 +05:30