server-tools/base_name_search_improved/models
Stefan Rijnhart e59665e8f0 [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.
2024-07-01 16:42:17 +02:00
..
__init__.py [IMP] base_name_search_improved: add v12 imp 2022-11-29 08:46:54 -03:00
ir_model.py [FIX] base_name_search_improved: don't patch abstract models 2024-07-01 16:42:17 +02:00