Created
June 27, 2022 08:46
-
-
Save sehrishnaz/a763a0058412a966bc072fb4ee8b27bd to your computer and use it in GitHub Desktop.
Display Only Sticky Notification in Odoo15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cmd_send_notification(self): | |
return { | |
'type': 'ir.actions.client', | |
'tag': 'display_notification', | |
'params': { | |
'title': _('Your Custom Notification Title'), | |
'message': 'Your Custom Message...', | |
'sticky': False, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment