Skip to Content
मेन्यू
This question has been flagged
1 Reply
2800 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
दिस॰ 15
4378
2
दिस॰ 15
635
0
मार्च 15
3708
1
मार्च 15
4714
3
जून 24
1795