Skip to Content
Menu
This question has been flagged
4432 Zobrazenia

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
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
1
jan 24
2405
0
apr 22
4123
0
dec 15
4739
1
sep 15
17023
3
sep 23
11799