Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Mail Activity Reminder
Entity: mail.activity
Compute Method: _compute_deadline
| Inputs | Method | Outputs |
|---|---|---|
|
- for activity in self: - tz = timezone(activity.user_id.sudo().tz or "UTC") - activity.deadline = ( - tz.localize(datetime.combine(activity.date_deadline, time.max)) - .astimezone(UTC) - .replace(tzinfo=None) - ) |
|
