CMS notification

cms_notification
REPOSITORY
REPOSITORYOCA/website-cms
GIT
GIThttps://github.com/OCA/website-cms.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website-cms/tree/11.0/cms_notification
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Simone Orsi
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/social:
    - mail_digest
OCA/website-cms:
    - cms_form
    - cms_info
    - cms_delete_content
    - cms_status_message
odoo/odoo:
    - website
    - web
    - base
    - web_editor
    - web_planner
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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 field Inherits mail.view_mail_message_subtype_form
message_subtype_tree mail_digest mail.message.subtype.tree mail.message.subtype field 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
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.

REPOSITORY
REPOSITORYOCA/website-cms
GIT
GIThttps://github.com/OCA/website-cms.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website-cms/tree/9.0/cms_notification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, Simone Orsi
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_fontawesome
OCA/social:
    - mail_digest
OCA/website-cms:
    - cms_form
    - cms_status_message
odoo/odoo:
    - website
    - web
    - base
    - web_editor
    - web_planner
    - mail
    - base_setup
    - web_kanban
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
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 field Inherits mail.view_mail_message_subtype_form
message_subtype_tree mail_digest mail.message.subtype.tree mail.message.subtype field Inherits mail.view_message_subtype_tree
notify_email_help_always CMS notification form - notify_email help `all` ir.ui.view qweb New
notify_email_help_digest CMS notification form - notify_email help `digest` ir.ui.view qweb New
notify_email_help_none CMS notification form - notify_email help `never` ir.ui.view qweb New
user_menu CMS notification user menu ir.ui.view qweb Inherits website.layout
Models touched (7)

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 (3)
  • enable_1 Boolean
    string='Enable 1'
  • enable_2 Boolean
    string='Enable 2'
  • enable_3 Boolean
    string='Enable 3'
Public methods (0)

No public methods.

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.