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

Module: Contract Line Successor

Entity: contract.template

Compute Method: _compute_is_auto_renew

Inputs Method Outputs
  • contract_line_ids
for record in self:
            record.is_auto_renew = all(
                line.is_auto_renew for line in record.contract_line_ids
            )

Back to entity