Skip to content

[19.0][IMP] mrp_multi_level: ensure product MRP parameter company consistency - #1861

Merged
OCA-git-bot merged 3 commits into
OCA:19.0from
ForgeFlow:19.0-fp-1854
Sep 10, 2026
Merged

OCA-git-bot merged 3 commits into
OCA:19.0from
ForgeFlow:19.0-fp-1854

Conversation

@LoisRForgeFlow

@LoisRForgeFlow LoisRForgeFlow commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Fwport of #1854

JordiMForgeFlow and others added 3 commits September 10, 2026 17:34
Extract the allowed-companies lookup and the constrains trigger fields
of _check_mrp_area_parameters_company into overridable methods, so
downstream modules replacing the single company_id restriction model
(e.g. with a many2many companies field) can support it without
overriding the whole method or the @api.constrains decorator.

No behaviour change: templates without company restrictions still
default to company_id, and test_26 to test_31 keep passing unmodified.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @JordiBForgeFlow,
some modules you are maintaining are being modified, check this out!

@LoisRForgeFlow LoisRForgeFlow changed the title [19.0][FIX] product_multi_company: keep company_ids on variant write- #1055 [19.0][FIX] product_multi_company: keep company_ids on variant write Sep 10, 2026
@LoisRForgeFlow

Copy link
Copy Markdown
Contributor Author

Fastracking fwport

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-1861-by-LoisRForgeFlow-bump-nobump, awaiting test results.

@LoisRForgeFlow LoisRForgeFlow changed the title [19.0][FIX] product_multi_company: keep company_ids on variant write [1.0][IMP] mrp_multi_level: ensure product MRP parameter company consistency Sep 10, 2026
@LoisRForgeFlow LoisRForgeFlow changed the title [1.0][IMP] mrp_multi_level: ensure product MRP parameter company consistency [19.0][IMP] mrp_multi_level: ensure product MRP parameter company consistency Sep 10, 2026
@OCA-git-bot
OCA-git-bot merged commit a1226aa into OCA:19.0 Sep 10, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 0589ed8. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants