Skip to content

[11.0] [mig] mrp subcontracting#1721

Open
OscarIndias wants to merge 38 commits intoOCA:11.0from
factorlibre:11.0-mig-mrp_subcontracting
Open

[11.0] [mig] mrp subcontracting#1721
OscarIndias wants to merge 38 commits intoOCA:11.0from
factorlibre:11.0-mig-mrp_subcontracting

Conversation

@OscarIndias
Copy link

No description provided.

Odoo and others added 30 commits February 9, 2026 18:28
Currently translated at 100.0% (38 of 38 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/pt_BR/
Currently translated at 100.0% (38 of 38 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/pt_BR/
Currently translated at 50.0% (19 of 38 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/ja/
…rder

On v12 and with chained moves coming from sales, procurement, etc, move_orig_ids
contains that full chain, so we get a singleton error.

But as we want the subcontracting production, using mapped, we get that single
record, so we apply this solution everywhere where it's needed.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/
If `purchase` module is installed, "Buy" route is set by default on new
products, so this collapses with the test definition that intends to use
"Manufacture" one.

Fixes OCA#581
…e (2)

Followup of 17be0f7.

There is other test with the same "setup".

Fixes OCA#581
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/pt_BR/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
If there are several lines in the picking, and some of them are not
received, you've got an error due to the unconditional processing of
all lines.

Now we prevent those that are not received in the loop.

Closes OCA#640
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
sysadminmatmoz and others added 7 commits February 9, 2026 18:28
Currently translated at 21.7% (10 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/sl/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 100.0% (46 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/it/
Currently translated at 21.7% (10 of 46 strings)

Translation: manufacture-12.0/manufacture-12.0-mrp_subcontracting
Translate-URL: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_subcontracting/sl/
Copy link

@alvaro-gmz alvaro-gmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Solid backport from v12 to v11. Warehouse route/rule creation properly reimplemented for v11 framework. Minor adaptations (datetime handling, field names, decorators, push rule
model) are clean.

@OscarIndias OscarIndias force-pushed the 11.0-mig-mrp_subcontracting branch from 153ae46 to b3d92e8 Compare February 19, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.