Commit Graph

246 Commits

Author SHA1 Message Date
oca-ci
14c69e1c50 [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:26 +05:30
Lois Rilo
f4b6eb4dca [IMP] mrp_multi_level: add date to default grouping filters
It is the default colum for pivot view.
2024-12-04 09:42:26 +05:30
OCA-git-bot
8ebeaad9de [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
Lois Rilo
4c5968f545 [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-12-04 09:42:26 +05:30
OCA-git-bot
5fac17701f [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
oca-ci
8d31d055bf [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:26 +05:30
Alexandre Fayolle
33329e0d5f [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-12-04 09:42:26 +05:30
mymage
2bbef8657c 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-12-04 09:42:26 +05:30
mymage
07c76e2301 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-12-04 09:42:26 +05:30
OCA-git-bot
6d6b435473 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
Alexandre Fayolle
0d9e98f53f [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-12-04 09:42:26 +05:30
OCA-git-bot
80248506d3 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
Alexandre Fayolle
9d288ee154 [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-12-04 09:42:26 +05:30
OCA-git-bot
b0b9f1f008 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
BernatPForgeFlow
515bd9b420 [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-12-04 09:42:26 +05:30
mymage
37280c9145 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-12-04 09:42:26 +05:30
OCA-git-bot
1618efcfb5 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
AaronHForgeFlow
c8de11dd74 [IMP] mrp_multi_level: access action 2024-12-04 09:42:26 +05:30
mymage
6a98ee55cd 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-12-04 09:42:26 +05:30
mymage
2e33098243 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-12-04 09:42:26 +05:30
mymage
8cc126b45e 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-12-04 09:42:26 +05:30
Francesco Foresti
55a0d7bd80 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-12-04 09:42:26 +05:30
mymage
1a4471bc29 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-12-04 09:42:26 +05:30
OCA-git-bot
b64bc99944 [UPD] README.rst 2024-12-04 09:42:26 +05:30
Ivorra78
2524e0fc85 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-12-04 09:42:26 +05:30
Francesco Foresti
e32c31ca4b 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-12-04 09:42:26 +05:30
Ivorra78
c908fb41ee 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-12-04 09:42:26 +05:30
Francesco Foresti
fadd0863f7 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-12-04 09:42:26 +05:30
Francesco Foresti
e6826d2266 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-12-04 09:42:25 +05:30
Weblate
a5f9fb68b3 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-12-04 09:42:25 +05:30
OCA-git-bot
4f7e6aebb2 mrp_multi_level 16.0.1.2.0 2024-12-04 09:42:25 +05:30
oca-ci
f429290488 [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:25 +05:30
BernatPForgeFlow
4fffdcf80b [IMP] mrp_multi_level: Add mrp_move tree view 2024-12-04 09:42:25 +05:30
OCA-git-bot
9c28572b10 mrp_multi_level 16.0.1.1.3 2024-12-04 09:42:25 +05:30
BernatPForgeFlow
784e40e8fc [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-12-04 09:42:25 +05:30
mymage
5db0c8edf6 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-12-04 09:42:25 +05:30
Weblate
30459841f9 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-12-04 09:42:25 +05:30
OCA-git-bot
cc6615050f mrp_multi_level 16.0.1.1.2 2024-12-04 09:42:25 +05:30
oca-ci
3b12e48b4e [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:25 +05:30
BernatPForgeFlow
1d13c0e799 [IMP] mrp_multi_level: Supply method computation for MRP Parameters
For each MRP Parameter, we will calculate its supply method based on the procurement rules path. We will go back in the rules until we find that the action is "buy" or "manufacture", or until the action is "Pull From" or "Pull & Push" and the supply method is "Take from Stock".

This means we will show what the latest rule is if we were to do a procurement. Although it would be possible that the final action does not end up being executed if stock already exists in one of the intermediate locations.
2024-12-04 09:42:25 +05:30
OCA-git-bot
f5f8a9ec6e mrp_multi_level 16.0.1.1.1 2024-12-04 09:42:25 +05:30
Lois Rilo
e51263113e [IMP] mrp_multi_level: better group operators
For initial OH, final OH and planned availability grouping with sum
does not provide any value, specially when grouping by product.
And avg though can be more interesting.

For demand and supply we could have more doubts and the sum can
make sense, so we keep it as is.
2024-12-04 09:42:25 +05:30
Weblate
03b9517985 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-12-04 09:42:25 +05:30
OCA-git-bot
4281125858 mrp_multi_level 16.0.1.1.0 2024-12-04 09:42:25 +05:30
oca-ci
7d64991e85 [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:25 +05:30
BernatPForgeFlow
d4de93f79a [IMP] mrp_multi_level: Add MRP Planner
For each MRP Parameter or for each Product in a MRP Area, we will be able to add a MRP Planner. Once this planner is set, he can filter himself in the MRP Parameters view, MRP Inventory view or MRP Planned Orders view.
2024-12-04 09:42:25 +05:30
OCA-git-bot
3800400d1c mrp_multi_level 16.0.1.0.1 2024-12-04 09:42:25 +05:30
Lois Rilo
554c0126d7 [IMP] mrp_multi_level: do not create moves if not data
This improves extensibility, allowing to not create moves on
certain situations by extending the prepare vals hook method.
2024-12-04 09:42:25 +05:30
Francesco Foresti
7934846c4c Translated using Weblate (Italian)
Currently translated at 100.0% (167 of 167 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-12-04 09:42:25 +05:30
Francesco Foresti
5db4d56704 Translated using Weblate (Italian)
Currently translated at 100.0% (167 of 167 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-12-04 09:42:25 +05:30