Repository
OCA/social · module folder · Try on Runboat
Module version
1.0.2
Category
Social Network
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/social
Last tracking update
2026-08-07 07:17:49
Authors
Odoo Community Association (OCA), Compassion CH
Maintainers
Odoo Community Association (OCA), Compassion CH
Committers
Ronald Portier, Holger Brunn, Pedro M. Baeza, GitHub, Thierry Ducrest, Emanuel Cino, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
sendgrid
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_template_sendgrid_form mass.mailing.sendgrid.form mail.mass_mailing form Inherits mass_mailing.view_mail_mass_mailing_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • mass_mailing_sendgrid(self, res_ids, composer_values)
    @api.model
    Helper to generate a new e-mail given a template and objects. :param res_ids: ids of the resource objects :param composer_values: values for the composer wizard :return: browse records of created e-mails (one per resource object)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • body_sendgrid Html
    compute='_compute_sendgrid_view'
  • email_template_id Many2one → mail.template
    args: 'mail.template', 'Sendgrid Template'
  • enable_unsubscribe Boolean
  • lang Many2one → res.lang
    comodel_name='res.lang' string='Force language'
  • unsubscribe_tag Char
  • unsubscribe_text Char
    default='If you would like to unsubscribe and stop receiving these emails <% clickhere %>.'
Public methods (4)
  • action_test_mailing(self)
    @api.multi
  • onchange_lang(self)
    @api.onchange('lang')
  • send_mail(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • send_mail_test(self)
    @api.multi
    Send with Sendgrid if needed.

New fields (0)

No new fields.

Public methods (2)
  • process_delivered(self, tracking_email, metadata)
    @api.model
  • process_reject(self, tracking_email, metadata)
    @api.model