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_mail_post_autofollow
| Inputs | Method | Outputs |
|---|---|---|
|
|
- to_reset = self.filtered(lambda act: act.state != 'mail_post' or act.mail_post_method == 'email') - if to_reset: - to_reset.mail_post_autofollow = False - other = self - to_reset - if other: - other.mail_post_autofollow = True + to_reset = self.filtered(lambda act: act.state != 'mail_post') + to_reset.mail_post_autofollow = False |
|
