Skip to Content
Menu
This question has been flagged
1 Reply
2689 Views

I cant figure out why this notfication wont show. Its the exact format from another inbuilt module. I would appreciate your help

Im on v15


def _send_notification(self):
​if not self._is_applicable():
​return {
​'type': 'ir.actions.client',
​'tag': 'display_notification',
​'params': {
​'message': _("Nothing to send"),
​'type': 'info',
​'sticky': False,
​}
​# do other stuff
Avatar
Discard
Related Posts Replies Views Activity
1
Dec 15
4287
2
Dec 15
635
0
Mar 15
3605
1
Mar 15
4635
3
Jun 24
1721