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

Module: Marketing Card

Entity: mailing.mailing

Compute Method: _compute_card_lang

View 20.0
Inputs Method Outputs
  • card_campaign_id
  • card_lang
+ for mailing in self:
+             if not mailing.card_campaign_id:
+                 mailing.card_lang = False
+             elif not mailing.card_lang:
+                 mailing.card_lang = self.env.lang
  • card_lang

Back to entity