Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2583 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 15
4192
2
Des 15
635
0
Mar 15
3524
1
Mar 15
4549
3
Jun 24
1642