Skip to content
Health
42/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 51 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 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.64 MB
Module directory on disk
Code analysis 6 migration notes 6 models 3 views 1 HTTP endpoint

Description

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
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 3

XML IDNameModelTypeStatus
assets_backend mail_follower_custom_notification assets ir.ui.view qweb Inherits web.assets_backend
view_mail_message_subtype_form mail.message.subtype form Inherits mail.view_mail_message_subtype_form
view_mail_subtype_assign_custom_notifications mail.subtype.assign.custom.notifications form New

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) MailController.read_subscription_data inherited http ALL

Models touched 6

New fields (3)
  • force_mail_subtype_ids Many2many → mail.message.subtype
    string='Force mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_mail_rel', 'mail_followers_id', 'mail_message_subtype_id'
  • force_nomail_subtype_ids Many2many → mail.message.subtype
    string='Force no mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_nomail_rel', 'mail_followers_id', 'mail_message_subtype_id'
  • force_own_subtype_ids Many2many → mail.message.subtype
    string='Force own mails from subtype' args: 'mail.message.subtype', 'mail_followers_force_own_rel', 'mail_followers_id', 'mail_message_subtype_id'
Public methods (1)
  • create(self, values)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • custom_notification_mail Selection
    help='Leave empty to use the setting on the partner\'s form, set to "Force yes" to always send messages of this type via email, and "Force no" to never send messages of type via email' string='Send mail notification' args: [('force_yes', 'Force yes'), ('force_no', 'Force no')]
  • custom_notification_model_ids Many2many → ir.model
    domain=[('transient', '=', False)] help="Choose for which models the custom configuration applies. This is only necessary if your subtype doesn't set a model itself" string='Models' args: 'ir.model'
  • custom_notification_own Boolean
    help='Check this to have notifications generated and sent via email about own messages' args: 'Notify about own messages'
Public methods (0)

No public methods.

New fields (1)
  • subtype_ids Many2many → mail.message.subtype
    default=<expr> required=True string='Subtypes' args: 'mail.message.subtype', 'mail_subtype_assign_custom_notifications_rel'
Public methods (1)
  • button_apply(self)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • message_custom_notification_update(self, custom_notifications)
    @api.multi
    custom_notifications is a dictionary with partner ids as keys and dictionaries mapping message subtype ids to custom notification values
  • message_custom_notification_update_user(self, custom_notifications)
    @api.multi
    change custom_notifications from user ids to partner ids

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…