Skip to content
Health
27/100
poor
  • Security10/25
    1 grave, 1 minor
  • Activity0/25
    Last human commit 95 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 9.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
LGPL-3
Combined: AGPL-3
Folder size
0.13 MB
Module directory on disk
Code analysis 3 migration notes 6 models 8 views 2 HTTP endpoints

Description

Dependencies

Odoo dependencies
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 8

XML IDNameModelTypeStatus
assets_frontend CMS notification frontend assets ir.ui.view qweb Inherits website.assets_frontend
field_widget_notification_selection CMS notification selection widget ir.ui.view qweb Inherits cms_form.field_widget_radio_selection
listing CMS notification listing ir.ui.view qweb New
mail_message_subtype_form mail_digest mail.message.subtype.form mail.message.subtype form Inherits mail.view_mail_message_subtype_form
message_subtype_tree mail_digest mail.message.subtype.tree mail.message.subtype tree Inherits mail.view_message_subtype_tree
notify_email_help_email CMS notification form - notify_email help `Email` ir.ui.view qweb New
notify_email_help_inbox CMS notification form - notify_email help `Inbox` ir.ui.view qweb New
user_menu CMS notification user menu ir.ui.view qweb Inherits website.layout

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/my/notifications MyNotificationsController.cms_form user http ALL website
/my/settings/notifications PanelFormController.cms_form user http ALL website

Models touched 6

New fields (0)

No new fields.

Public methods (1)
  • w_option_items(self)
    @property
    Change options order and inject help text.

New fields (0)

No new fields.

Public methods (4)
  • check_view_permission(self, item)
    Check read permission on given item. We could list messages that are attached to other records. If the permissions for this records has changed then the user viewing the notification may not have permissions to read it anymore.
  • form_description(self)
    @property
  • form_search_domain(self, search_values)
  • form_title(self)
    @property

New fields (0)

No new fields.

Public methods (7)
  • form_after_create_or_update(self, values, extra_values)
    Update subtype configuration for `_form_subtype_fields`.
  • form_description(self)
    @property
  • form_get_loader(self, fname, field, main_object=None, value=None, **req_values)
    Override to provide automatic loader for boolean fields.
  • form_msg_success_updated(self)
    @property
  • form_next_url(self, main_object=None)
  • form_title(self)
    @property
  • form_widgets(self)
    @property

New fields (2)
  • ref_item_id Reference
    compute='_compute_ref_item_id' readonly=True selection='_selection_ref_item_id' string='Referenced item'
  • ref_model_id Many2one → ir.model
    comodel_name='ir.model' compute='_compute_ref_model_id' string='Referenced model'
Public methods (2)
  • is_read(self, partner=None)
  • is_unread(self, partner=None)

New fields (1)
  • cms_type Boolean
    help="If active, this message subtype will be visible in users' notifications control panel." args: 'Visible in CMS control panel'
Public methods (0)

No public methods.

New fields (1)
  • has_unread_notif Boolean
    compute='_compute_has_unread_notif' readonly=True string='Has unread notif'
Public methods (0)

No public methods.

Loading…