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_method

View 19.0
Inputs Method Outputs
- to_reset = self.filtered(lambda act: act.state != 'mail_post')
- if to_reset:
-             to_reset.mail_post_method = False
- other = self - to_reset
- if other:
-             other.mail_post_method = 'comment'

Back to entity