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_activity_info
| Inputs | Method | Outputs |
|---|---|---|
|
- for to_reset in self.filtered(lambda act: act.step_type != "activity"): - to_reset.activity_summary = False - to_reset.activity_note = False - to_reset.activity_date_deadline_range = False - to_reset.activity_date_deadline_range_type = False - to_reset.activity_user_type = False - to_reset.activity_user_id = False - to_reset.activity_user_field_id = False - for activity in self.filtered(lambda act: act.step_type == "activity"): - if not activity.activity_date_deadline_range_type: - activity.activity_date_deadline_range_type = "days" - if not activity.activity_user_id: - activity.activity_user_id = self.env.user.id |
|
