Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 7 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
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 0 migration notes 1 model 5 views 1 HTTP endpoint

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
cms_form

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
display_test CMS status message display test ir.ui.view qweb New
message_listing_wrapper CMS status_message listing wrapper ir.ui.view qweb New
message_wrapper CMS status_message single message wrapper ir.ui.view qweb New
portal_add_status_message Add status message ir.ui.view qweb Inherits portal.portal_layout
status_message CMS status_message ir.ui.view qweb New

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/cms/status-message/display-test CMSStatusMsgTest.display_test public http ALL

Models touched 1

New fields (0)

No new fields.

Public methods (4)
  • add_status_message(self, msg, title='', kind='info', dismissible=True, dismiss_options=None, request=None, session=None)
    @api.model
    Inject status message in session. :param msg: the message you want to display. :param title: a title for your message. By default is taken from `default_status_msg_title` if `kind` matches. If you pass `None` the title is removed from the alert box. :param kind: the type of message (info, success, etc). Is used to provide the proper css klass to the alert box. Note: matching a default type is not required at all. You can use your custom type to have your alert box styled differently. :param dismissible: make the alert dismissible. :param session: odoo http session. By default is taken from the current request.
  • clear_status_messages(self, session=None)
    @api.model
    Clear status messages from current session. :param session: odoo http session. By default is taken from the current request.
  • default_status_msg_title(self)
    @property
    Some default msg titles.
  • get_status_message(self, session=None)
    @api.model
    Retrieve status messages from current session. :param session: odoo http session. By default is taken from the current request. :rtype: list.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…