Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2811 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 15
4382
2
dic 15
635
0
mar 15
3712
1
mar 15
4718
3
jun 24
1797