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_expiry

View 18.0
Inputs Method Outputs
  • trigger_type
  • expiry
- trigger_types = self._trigger_types()
- for record in self:
-             record.expiry = (
-                 trigger_types[record.trigger_type].get("allow_expiry", False)
-                 and record.expiry
-             )
  • expiry

Back to entity