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.actions.server

Compute Method: _compute_available_model_ids

Inputs Method Outputs
allowed_models = self.env['ir.model'].search(
            [('model', 'in', list(self.env['ir.model.access']._get_allowed_models()))]
        )
self.available_model_ids = allowed_models.ids

Back to entity