Skip to content
Health
32/100
poor
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 124 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.84 MB
Module directory on disk
Code analysis 10 migration notes 3 models 6 views 1 HTTP endpoint

Description

Dependencies

Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
view_mail_mandrill_event_form mail.mandrill.event.form mail.mandrill.event form New
view_mail_mandrill_event_search mail.mandrill.event.search mail.mandrill.event search New
view_mail_mandrill_event_tree mail.mandrill.event.tree mail.mandrill.event tree New
view_mail_mandrill_message_form mail.mandrill.message.form mail.mandrill.message form New
view_mail_mandrill_message_search mail.mandrill.message.search mail.mandrill.message search New
view_mail_mandrill_message_tree mail.mandrill.message.tree mail.mandrill.message tree New

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/mandrill/event MailController.event none http ALL

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • send(self, auto_commit=False, raise_exception=False)
    @api.multi

New fields (13)
  • date Date
    readonly=True string='Mandrill date'
  • event_type Selection
    readonly=True selection=[('send', 'Sent'), ('deferral', 'Deferral'), ('hard_bounce', 'Hard bounce'), ('soft_bounce', 'Soft bounce'), ('open', 'Opened'), ('click', 'Clicked'), ('spam', 'Spam'), ('unsub', 'Unsubscribed'), ('reject', 'Rejected')] string='Event type'
  • ip Char
    readonly=True string='User IP'
  • message_id Many2one → mail.mandrill.message
    comodel_name='mail.mandrill.message' readonly=True string='Message'
  • mobile Boolean
    readonly=True string='Is mobile?'
  • os_family Char
    readonly=True string='Operating system family'
  • time Datetime
    readonly=True string='Mandrill time'
  • timestamp Integer
    readonly=True string='Mandrill UTC timestamp'
  • ua_family Char
    readonly=True string='User agent family'
  • ua_type Char
    readonly=True string='User agent type'
  • url Char
    readonly=True string='Clicked URL'
  • user_agent Char
    readonly=True string='User agent'
  • user_country_id Many2one → res.country
    comodel_name='res.country' readonly=True string='User country'
Public methods (9)
  • process_click(self, message, event)
    @api.model
  • process_deferral(self, message, event)
    @api.model
  • process_hard_bounce(self, message, event)
    @api.model
  • process_open(self, message, event)
    @api.model
  • process_reject(self, message, event)
    @api.model
  • process_send(self, message, event)
    @api.model
  • process_soft_bounce(self, message, event)
    @api.model
  • process_spam(self, message, event)
    @api.model
  • process_unsub(self, message, event)
    @api.model

New fields (13)
  • bounce_description Char
    readonly=True string='Bounce description'
  • bounce_type Char
    readonly=True string='Bounce type'
  • date Date
    readonly=True string='Mandrill date'
  • event_ids One2many → mail.mandrill.event
    comodel_name='mail.mandrill.event' inverse_name='message_id' string='Mandrill events'
  • mandrill_id Char
    readonly=True required=True string='Mandrill message ID'
  • metadata Text
    readonly=True string='Metadata'
  • name Char
    readonly=True string='Subject'
  • recipient Char
    readonly=True string='Recipient email'
  • sender Char
    readonly=True string='Sender email'
  • state Selection
    help=" * The 'Sent' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n * The 'Opened' status indicates that message was opened or clicked by recipient.\n * The 'Rejected' status indicates that recipient email address is blacklisted by Mandrill. It is recomended to delete this email address.\n * The 'Spam' status indicates that Mandrill consider this message as spam.\n * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n * The 'Bounced' status indicates that message was bounced by recipient Mail Exchange (MX) server.\n * The 'Soft bounced' status indicates that message was soft bounced by recipient Mail Exchange (MX) server.\n" index=True readonly=True string='State' args: [('deferred', 'Deferred'), ('sent', 'Sent'), ('opened', 'Opened'), ('rejected', 'Rejected'), ('spam', 'Spam'), ('unsub', 'Unsubscribed'), ('bounced', 'Bounced'), ('soft-bounced', 'Soft bounced')]
  • tags Char
    readonly=True string='Tags'
  • time Datetime
    readonly=True string='Mandrill time'
  • timestamp Integer
    readonly=True string='Mandrill UTC timestamp'
Public methods (1)
  • process(self, message_id, event_type, event)
    @api.model