OCA / multi-company

GNU Affero General Public License v3.0
100 stars 281 forks source link

[14.0][FIX] base_multi_company: _check_company multi-record aware #539

Closed pedrobaeza closed 9 months ago

pedrobaeza commented 9 months ago

Follow-up of #535

_check_company is not an ensure_one method, so we need to make sure that if it's called with several records, and they don't belong to the same company, everything is OK.

@Tecnativa

pedrobaeza commented 9 months ago

/ocabot merge patch

OCA-git-bot commented 9 months ago

On my way to merge this fine PR! Prepared branch 14.0-ocabot-merge-pr-539-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

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

pedrobaeza commented 9 months ago

Forward-port to 15 in #540