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.instance.period

Compute Method: _compute_allowed_cmpcol_ids

Inputs Method Outputs
"""Compute actual records while in NewId context"""
for record in self:
            record.allowed_cmpcol_ids = record.report_instance_id.period_ids - record

Back to entity