Skip to Content
मेन्यू
This question has been flagged
4373 Views

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
Discard

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

Related Posts Replies Views Activity
1
जन॰ 24
2275
0
अप्रैल 22
4042
0
दिस॰ 15
4678
1
सित॰ 15
16957
3
सित॰ 23
11721