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_mailing_model_id

View 17.0 View 20.0
Inputs Method Outputs
+ """Compute acts as default, this avoids issues when the field is made compute stored in overrides."""
+ self.filtered(lambda m: not m.mailing_model_id).mailing_model_id = self.env.ref('mass_mailing.model_mailing_list').id

Back to entity