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_source_id

View 20.0
Inputs Method Outputs
  • mailing_type
  • source_id
+ for mailing in self:
+             if mailing.mailing_type == 'mail' and not mailing.source_id:
+                 mailing.source_id = self.env['utm.mixin']._utm_ref('utm.utm_source_mailing').id
  • source_id

Back to entity