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

Module: Discuss

Entity: ir.actions.server

Compute Method: _compute_activity_date_deadline_range

Inputs Method Outputs
to_reset = self.filtered(lambda act: act.state != 'next_activity')
to_reset.activity_date_deadline_range = False
to_default = (self - to_reset).filtered(lambda act: not act.activity_date_deadline_range)
to_default.activity_date_deadline_range = 1

Back to entity