diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-29 18:10:57 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-29 18:10:57 +0100 |
| commit | 2a06f4dcf3ab03d3d0b6ed14d6ccd12140063b27 (patch) | |
| tree | c3bf62aedae655cdaddb61f6b86703c2a1d9448d /addons/mass_mailing/models | |
| parent | 1a5ab9265425934a717fd6d57260146a524c208a (diff) | |
| parent | 09fb2469b490d48ce937a41a63447e099b93c637 (diff) | |
[MERGE] forward port branch 12.0 up to 09fb2469b49
Diffstat (limited to 'addons/mass_mailing/models')
| -rw-r--r-- | addons/mass_mailing/models/mass_mailing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mass_mailing/models/mass_mailing.py b/addons/mass_mailing/models/mass_mailing.py index e8a904f2d37..e48ca4cbd3d 100644 --- a/addons/mass_mailing/models/mass_mailing.py +++ b/addons/mass_mailing/models/mass_mailing.py @@ -318,9 +318,9 @@ class MassMailingCampaign(models.Model): campaign_id = fields.Many2one('utm.campaign', 'campaign_id', required=True, ondelete='cascade', help="This name helps you tracking your different campaign efforts, e.g. Fall_Drive, Christmas_Special") source_id = fields.Many2one('utm.source', string='Source', - help="This is the link source, e.g. Search Engine, another domain,or name of email list", default=lambda self: self.env.ref('utm.utm_source_newsletter')) + help="This is the link source, e.g. Search Engine, another domain,or name of email list", default=lambda self: self.env.ref('utm.utm_source_newsletter', False)) medium_id = fields.Many2one('utm.medium', string='Medium', - help="This is the delivery method, e.g. Postcard, Email, or Banner Ad", default=lambda self: self.env.ref('utm.utm_medium_email')) + help="This is the delivery method, e.g. Postcard, Email, or Banner Ad", default=lambda self: self.env.ref('utm.utm_medium_email', False)) tag_ids = fields.Many2many( 'mail.mass_mailing.tag', 'mail_mass_mailing_tag_rel', 'tag_id', 'campaign_id', string='Tags') |
