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

Inputs Method Outputs
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

Back to entity