Commit Graph

261 Commits

Author SHA1 Message Date
OCA-git-bot
2ad3aeda21 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
oca-ci
ba48a45a54 [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:26 +05:30
JasminSForgeFlow
995e752a6e [MIG] mrp_multi_level: Migration to 17.0 2024-12-04 09:42:26 +05:30
JasminSForgeFlow
677bde6b00 [IMP] mrp_multi_level: black, isort, prettier 2024-12-04 09:42:26 +05:30
mymage
5da03693a2 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
fe717f14f4 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
oca-ci
f8ca24984e [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:26 +05:30
BernatPForgeFlow
57cba495f0 [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-12-04 09:42:26 +05:30
OCA-git-bot
581c1ce5cd [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
oca-ci
9b3ed07276 [UPD] Update mrp_multi_level.pot 2024-12-04 09:42:26 +05:30
Lois Rilo
7d740b502f [FIX] mrp_multi_level: wrong safety stock intial order in grouped demand mode
Three tests cases modelize the issues being solved.
2024-12-04 09:42:26 +05:30
OCA-git-bot
53c9314f91 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
Lois Rilo
6b5aca3abe [FIX] mrp_multi_level: ariable 'move' referenced before assignment 2024-12-04 09:42:26 +05:30
Weblate
e6c2499077 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:26 +05:30
OCA-git-bot
d5015c2250 [BOT] post-merge updates 2024-12-04 09:42:26 +05:30
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