Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
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