[16.0][FIX] base_name_search_improved: don't patch abstract models
When applying monkey patches, we want to skip abstract models because patching those may mess up the inheritance. An example of this is ir.model which is assigned the studio mixin using inherit = ['studio.mixin', 'ir.model']. If the mixin itself is patched, and the method is overridden once again (in, say, enterprise 15's documents_spreadsheet), the super() method called in that override is the patched version of studio.mixin rather than the override of ir.model in the base module, which is now skipped entirely.
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). 🤖
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-2977-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at a787ad2345d654d2e2b634bb66aaffd3c3ca4f99. Thanks a lot for contributing to OCA. ❤️