Commit Graph

994 Commits

Author SHA1 Message Date
BernatPForgeFlow
6f478d0060 [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-02-14 15:21:31 +01:00
Lois Rilo
70d77d79da [IMP] mrp_multi_level: add date to default grouping filters
It is the default colum for pivot view.
2024-02-14 10:08:38 +01:00
Lois Rilo
468d3f3a2b [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-02-14 10:08:12 +01:00
Lois Rilo
2c2338fbd9 [FIX] mrp_multi_level: wrong safety stock intial order in grouped demand mode
Three tests cases modelize the issues being solved.
2024-02-14 09:49:35 +01:00
Lois Rilo
9512488e1d [FIX] mrp_multi_level: ariable 'move' referenced before assignment 2024-02-14 09:47:21 +01:00
Alexandre Fayolle
b733ed9657 [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-02-14 09:36:24 +01:00
mymage
d1b70357a6 Translated using Weblate (Italian)
Currently translated at 100.0% (127 of 127 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_production_request
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_request/it/
2024-01-22 10:35:54 +00:00
mymage
8ae14663b0 Translated using Weblate (Italian)
Currently translated at 100.0% (127 of 127 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_production_request
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_request/it/
2023-12-24 17:34:09 +00:00
mymage
d3f6d2241c Translated using Weblate (Italian)
Currently translated at 100.0% (168 of 168 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_multi_level/it/
2023-12-18 09:36:11 +00:00
OCA-git-bot
db83401aa8 [BOT] post-merge updates 2023-12-14 09:22:43 +00:00
OCA-git-bot
838fde4dfe Merge PR #1163 into 13.0
Signed-off-by LoisRForgeFlow
2023-12-14 09:18:54 +00:00
BernatPForgeFlow
e8ed76a879 [IMP] mrp_multi_level_estimate: Stock moves from MO should always be considered
When we consider forecasts as the 'Indirect' demand, we should always keep considering the demand coming from Manufacturing Orders, as they are 'Direct' demand.
2023-12-14 10:17:43 +01:00
OCA-git-bot
cb0e5bba37 [BOT] post-merge updates 2023-12-14 08:52:56 +00:00
OCA-git-bot
b4211cfdd4 Merge PR #1162 into 13.0
Signed-off-by LoisRForgeFlow
2023-12-14 08:49:09 +00:00
Alexandre Fayolle
090012c65a [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).
2023-12-14 09:46:05 +01:00
OCA-git-bot
0e49e5ea3f [BOT] post-merge updates 2023-12-14 08:31:51 +00:00
OCA-git-bot
8fed3c5fea Merge PR #1160 into 13.0
Signed-off-by LoisRForgeFlow
2023-12-14 08:28:04 +00:00
Alexandre Fayolle
8c08f905b0 [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.
2023-12-13 16:50:59 +01:00
OCA-git-bot
0f2f8a6386 [BOT] post-merge updates 2023-11-29 12:43:48 +00:00
OCA-git-bot
10b455e2c6 Merge PR #1143 into 13.0
Signed-off-by LoisRForgeFlow
2023-11-29 12:39:44 +00:00
OCA-git-bot
b39ec5d5de [BOT] post-merge updates 2023-11-29 12:38:26 +00:00
OCA-git-bot
280b035bf5 Merge PR #1111 into 13.0
Signed-off-by LoisRForgeFlow
2023-11-29 12:34:36 +00:00
BernatPForgeFlow
c5ece34f79 [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.
2023-11-29 10:00:31 +01:00
mymage
ce91767f93 Translated using Weblate (Italian)
Currently translated at 100.0% (168 of 168 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_multi_level/it/
2023-11-22 17:34:59 +00:00
mymage
a668c65175 Translated using Weblate (Italian)
Currently translated at 100.0% (127 of 127 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_production_request
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_request/it/
2023-11-22 17:34:59 +00:00
mymage
17b409cb5e Translated using Weblate (Italian)
Currently translated at 100.0% (22 of 22 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_workorder_update_component
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_workorder_update_component/it/
2023-11-21 19:33:58 +00:00
mymage
207765e227 Translated using Weblate (Italian)
Currently translated at 100.0% (34 of 34 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_planned_order_matrix
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_planned_order_matrix/it/
2023-11-16 12:37:30 +00:00
mymage
315facd18a Translated using Weblate (Italian)
Currently translated at 100.0% (22 of 22 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_workorder_update_component
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_workorder_update_component/it/
2023-11-14 19:37:14 +00:00
mymage
84c07f7dea Added translation using Weblate (Italian) 2023-11-07 13:30:04 +00:00
mymage
c37a1e21bc Translated using Weblate (Italian)
Currently translated at 100.0% (24 of 24 strings)

Translation: manufacture-13.0/manufacture-13.0-quality_control_stock_oca
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-quality_control_stock_oca/it/
2023-11-02 16:36:40 +00:00
mymage
4da0ea490a Translated using Weblate (Italian)
Currently translated at 100.0% (168 of 168 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_multi_level/it/
2023-10-29 17:36:50 +00:00
mymage
41970398dc Translated using Weblate (Italian)
Currently translated at 100.0% (127 of 127 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_production_request
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_request/it/
2023-10-29 17:36:49 +00:00
mymage
5984f827d3 Translated using Weblate (Italian)
Currently translated at 100.0% (168 of 168 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_multi_level/it/
2023-10-29 08:31:03 +00:00
mymage
f140ba33d1 Translated using Weblate (Italian)
Currently translated at 100.0% (34 of 34 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_planned_order_matrix
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_planned_order_matrix/it/
2023-10-29 08:31:03 +00:00
mymage
20b77b428a Translated using Weblate (Italian)
Currently translated at 100.0% (16 of 16 strings)

Translation: manufacture-13.0/manufacture-13.0-repair_refurbish
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-repair_refurbish/it/
2023-10-29 08:31:02 +00:00
OCA-git-bot
f6c0684dc9 [BOT] post-merge updates 2023-10-23 08:56:33 +00:00
oca-ci
806be251f6 [UPD] Update mrp_workorder_update_component.pot 2023-10-23 08:44:45 +00:00
OCA-git-bot
64ae079562 Merge PR #1083 into 13.0
Signed-off-by LoisRForgeFlow
2023-10-23 08:39:32 +00:00
Jordi Ballester
30d2c59c34 [mrp_multi_level][imp] improve speed by creating mrp.move,mrp.inventory records using
the create_multi capabilities
2023-10-17 17:02:25 +02:00
Weblate
6e57d63f68 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_bom_component_menu
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_bom_component_menu/
2023-10-10 00:46:01 +00:00
Weblate
e3e0e8d290 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-product_cost_rollup_to_bom
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-product_cost_rollup_to_bom/
2023-10-09 23:41:25 +00:00
Weblate
aa91aa0a18 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_bom_line_sequence
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_bom_line_sequence/
2023-10-09 23:13:27 +00:00
Weblate
7575e29968 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_sale_info
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_sale_info/
2023-10-09 21:54:09 +00:00
Weblate
00e97f5bf5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_production_note
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_note/
2023-10-09 21:01:41 +00:00
Weblate
bf8b3bd3d6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_unbuild_tracked_raw_material
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_unbuild_tracked_raw_material/
2023-10-09 21:01:16 +00:00
Weblate
95de8bf690 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_production_grouped_by_product
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_production_grouped_by_product/
2023-10-09 21:01:14 +00:00
Weblate
f1dd490aef Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-stock_picking_product_kit_helper
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-stock_picking_product_kit_helper/
2023-10-09 20:58:57 +00:00
Weblate
ecf0f091f2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-mrp_bom_tracking
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_bom_tracking/
2023-10-09 20:09:43 +00:00
Weblate
167ffaa127 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-13.0/manufacture-13.0-base_repair_config
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-base_repair_config/
2023-10-09 19:32:47 +00:00
mymage
b0c9061a72 Translated using Weblate (Italian)
Currently translated at 100.0% (8 of 8 strings)

Translation: manufacture-13.0/manufacture-13.0-mrp_bom_line_sequence
Translate-URL: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_bom_line_sequence/it/
2023-10-09 09:15:54 +00:00