Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Base

Entity: ir.model

Compute Method: _inherited_models

Inputs Method Outputs
self.inherited_model_ids = False
for model in self:
            records = self.env.get(model.model)
            if records is not None:
                model.inherited_model_ids = self.search([('model', 'in', list(records._inherits))])

Back to entity