Closed renda-dev closed 4 months ago
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
@pedrobaeza good to go? :)
/ocabot merge patch
This PR looks fantastic, let's merge it! Prepared branch 14.0-ocabot-merge-pr-593-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at 3b5edbfbcf77f3c10bca278c683b2f593a1cdb3c. Thanks a lot for contributing to OCA. ❤️
Required behavior: Searching a record with a product that has
check_company=True
without any company assigned must be visible by every company.Without inheriting
multi.company.abstract
theproduct.product
model doesn't use the patched_name_search
andsearch_read
, which is essential if you want to have a relation towardsproduct.product
withcheck_company=True
.I've also added a test case that practically demonstrate the purpose of this PR and that it would fail without these changes.