Closed SirAionTech closed 8 months ago
Hi @pedrobaeza, some modules you are maintaining are being modified, check this out!
On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-551-by-pedrobaeza-bump-patch, awaiting test results.
Please check if this is applicable to other versions.
Congratulations, your PR was merged at 13a87e27661f7cc71e47021647a5e810ff350f22. Thanks a lot for contributing to OCA. ❤️
Please check if this is applicable to other versions.
It is applicable to 15.0
:
https://github.com/OCA/multi-company/blob/81092e7ddd53c60723a8b9eb7be49596e42ab0d7/base_multi_company/models/base.py#L21-L25
and 14.0
:
https://github.com/OCA/multi-company/blob/29f8d599e4ca278aa2dd41c6f4d2b7f5de12b353/base_multi_company/models/base.py#L21-L25
here it was partially fixed by https://github.com/OCA/multi-company/pull/548.
Can't find similar code anywhere else. I'll probably oca-port tomorrow or the day after.
Before this PR, executing
_check_company
on multiple companies failed with our belovederror
Steps
_check_company_auto = True
in https://github.com/odoo/odoo/blob/6485872d00f47e351e40741283f3b9219adcd8a8/addons/stock/models/res_company.py#L9self.env["res.company"].create([ ... ])
syntaxActual behavior Error traceback ending with something like
Expected behavior No error