Skip to content

[14.0][FIX] purchase_operating_unit: allow manager to select OUs#852

Merged
OCA-git-bot merged 1 commit into
OCA:14.0from
PyTech-SRL:14.0-ou-purchase
Apr 28, 2026
Merged

[14.0][FIX] purchase_operating_unit: allow manager to select OUs#852
OCA-git-bot merged 1 commit into
OCA:14.0from
PyTech-SRL:14.0-ou-purchase

Conversation

@HekkiMelody
Copy link
Copy Markdown
Contributor

Checking the field user_ids of operating.unit to set a domain is both unnecessary (record rules already filter the correct records) and wrong/obsolete because users who are managers of all OUs don't appear in the user_ids field.

Cf. the same fix in #850

Checking the field user_ids of operating.unit to set a domain is both
unnecessary (record rules already filter the correct records) and
wrong/obsolete because users who are managers of all OUs don't
appear in the user_ids field.
@OCA-git-bot OCA-git-bot added series:14.0 mod:purchase_operating_unit Module purchase_operating_unit labels Apr 28, 2026
Copy link
Copy Markdown
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

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

Functional ok

Copy link
Copy Markdown
Contributor

@GSLabIt GSLabIt left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

👍

@AaronHForgeFlow
Copy link
Copy Markdown
Contributor

no need to FWP

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-852-by-AaronHForgeFlow-bump-minor, awaiting test results.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

It looks like something changed on 14.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 14.0-ocabot-merge-pr-852-by-AaronHForgeFlow-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 2ddf7dc into OCA:14.0 Apr 28, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 8f79f40. 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.

5 participants