Commit Graph

279 Commits

Author SHA1 Message Date
OCA-git-bot
34499f2517 [BOT] post-merge updates 2024-08-29 13:41:55 +00:00
Lois Rilo
a9f8b9b5a7 [IMP] mrp_multi_level: better logs during calculation
* Explicitly log which area and LLC is being computed.
* Correct LLC being logged.
2024-08-29 15:34:02 +02:00
OCA-git-bot
50b8410a9a [BOT] post-merge updates 2024-07-31 07:03:00 +00:00
JordiMForgeFlow
ac7f04ca4a [IMP] mrp_multi_level: hook for method to get rule 2024-07-31 08:42:47 +02:00
OCA-git-bot
57fc577826 [BOT] post-merge updates 2024-07-30 08:01:10 +00:00
Jordi Ballester Alomar
0240a7c901 [IMP] mrp_multi_level: add hooks to improve extensibility 2024-07-30 09:49:33 +02:00
OCA-git-bot
188a1d2758 [BOT] post-merge updates 2024-07-23 14:15:33 +00:00
OCA-git-bot
8bf535328d Merge PR #1322 into 17.0
Signed-off-by LoisRForgeFlow
2024-07-23 14:08:10 +00:00
JordiMForgeFlow
7dbe294178 [IMP] mrp_multi_level: fix typo 2024-07-23 15:55:59 +02:00
OCA-git-bot
6e667397af [BOT] post-merge updates 2024-07-18 12:07:18 +00:00
JordiMForgeFlow
48d830a96e [IMP] mrp_multi_level: use area from component in the explosion vals 2024-07-18 13:15:42 +02:00
mymage
a2b2bb3f4e Translated using Weblate (Italian)
Currently translated at 100.0% (169 of 169 strings)

Translation: manufacture-17.0/manufacture-17.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_multi_level/it/
2024-07-16 15:58:33 +00:00
Weblate
7e2432e3c2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-17.0/manufacture-17.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_multi_level/
2024-07-16 08:46:09 +00:00
OCA-git-bot
df6e28d4ac [BOT] post-merge updates 2024-07-16 08:46:02 +00:00
oca-ci
6b4e39688f [UPD] Update mrp_multi_level.pot 2024-07-16 08:42:48 +00:00
AlexPForgeFlow
f19e5873f7 [IMP] mrp_multi_level: add MRP Area smart button on stock locations 2024-07-16 09:20:39 +02:00
OCA-git-bot
34344b2794 [BOT] post-merge updates 2024-05-01 20:36:11 +00:00
Pedro M. Baeza
c96f19b3bc [FIX] mrp_multi_level: Line too long 2024-05-01 20:51:30 +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
JasminSForgeFlow
fa027b500d [MIG] mrp_multi_level: Migration to 17.0 2024-04-04 11:17:28 +05:30
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