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.record

Compute Method: _compute_state

View 18.0
Inputs Method Outputs
  • automation_step_ids
- for record in self:
-             record.state = (
-                 "run"
-                 if record.automation_step_ids.filtered(lambda r: r.state == "scheduled")
-                 else "done"
-             )
  • state

Back to entity