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

Module: MIS Builder

Entity: mis.report

Compute Method: _compute_account_model

Inputs Method Outputs
for record in self:
            record.account_model = (
                record.move_lines_source.sudo()
                .field_id.filtered(lambda r: r.name == "account_id")
                .relation
            )

Back to entity