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

Module: Automation Oca

Entity: automation.configuration.step

Compute Method: _compute_allow_expiry

Inputs Method Outputs
trigger_types = self._trigger_types()
for record in self:
            record.allow_expiry = trigger_types[record.trigger_type].get(
                "allow_expiry", False
            )

Back to entity