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

Module: Email Marketing

Entity: mailing.mailing

Compute Method: _compute_favorite_date

View 18.0
Inputs Method Outputs
- favorited = self.filtered('favorite')
- (self - favorited).favorite_date = False
- favorited.filtered(lambda mailing: not mailing.favorite_date).favorite_date = fields.Datetime.now()

Back to entity