OCA / multi-company

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

[15.0][FIX] base_multi_company: _check_company multi-record aware #540

Closed pedrobaeza closed 9 months ago

pedrobaeza commented 9 months ago

Follow-up of #535 - Forward-port to v15 of #539

_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 15.0-ocabot-merge-pr-540-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

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