Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4495 Visualizações

Hello,

When im calling python method in cron that retrun action_warn  notification is not worked. Can any body help me plz. Thank you. Cron is working but no notification is showed.

def sent_notification(self):

print ('sending notifications')

return {

'type': 'ir.actions.client',

'tag': 'action_warn',

'name': 'sent_notification',

'params': {

'title': 'Nouveau document est arrivé !',

'text': 'Vous devez consulter ta boite de reception de document.',

'sticky': True

}

}


Avatar
Cancelar

Hello have you succeeded to get that done ? if yes please share and Choukran for that in advance Good day

Publicações relacionadas Respostas Visualizações Atividade
1
jan. 24
2537
0
abr. 22
4185
0
dez. 15
4798
1
set. 15
17086
3
set. 23
11941