[REF] notifications: removal of param messageIsHtml
closes odoo/documentation#1557 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
484d245556
commit
2269ee51e8
@ -1024,7 +1024,8 @@ from the *ServiceMixin*:
|
|||||||
- *subtitle*: string, optional. This will be displayed on the top as a
|
- *subtitle*: string, optional. This will be displayed on the top as a
|
||||||
subtitle.
|
subtitle.
|
||||||
|
|
||||||
- *message*: string, optional. The content of the notification.
|
- *message*: string, optional. The content of the notification. Do not forget
|
||||||
|
to escape your message via the markup function if needed.
|
||||||
|
|
||||||
- *sticky*: boolean, optional (default false). If true, the notification
|
- *sticky*: boolean, optional (default false). If true, the notification
|
||||||
will stay until the user dismisses it. Otherwise, the notification will
|
will stay until the user dismisses it. Otherwise, the notification will
|
||||||
@ -1037,11 +1038,6 @@ from the *ServiceMixin*:
|
|||||||
automatically added to the notification. This could be useful for styling
|
automatically added to the notification. This could be useful for styling
|
||||||
purpose, even though its use is discouraged.
|
purpose, even though its use is discouraged.
|
||||||
|
|
||||||
- *messageIsHtml*: boolean, optional (default false). Allows passing an html
|
|
||||||
message. Strongly discouraged: other options should be considered before
|
|
||||||
enabling this option. The responsibility is on the caller to properly
|
|
||||||
escape the message if this option is enabled.
|
|
||||||
|
|
||||||
Here are two examples on how to use these methods:
|
Here are two examples on how to use these methods:
|
||||||
|
|
||||||
.. code-block:: javascript
|
.. code-block:: javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user