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_step_info

Inputs Method Outputs
step_icons = self._step_icons()
step_name_map = dict(self._fields["step_type"].selection)
for record in self:
            record.step_icon = step_icons.get(record.step_type, "")
            record.step_name = step_name_map.get(record.step_type, "")

Back to entity