Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2575 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 15
4180
2
dez. 15
635
0
mar. 15
3519
1
mar. 15
4542
3
jun. 24
1634