mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_notify: action button name and close
- We can now set a button name to the notification action. - We can set an icon button as well. - After the button is clicked, the notification gets closed.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
from odoo import _, api, exceptions, fields, models
|
||||
|
||||
from odoo.addons.bus.models.bus import channel_with_db, json_dump
|
||||
from odoo.addons.web.controllers.main import clean_action
|
||||
from odoo.addons.web.controllers.utils import clean_action
|
||||
|
||||
DEFAULT_MESSAGE = "Default message"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user