Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4378 Zobrazení

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šit

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

Related Posts Odpovědi Zobrazení Aktivita
1
led 24
2284
0
dub 22
4056
0
pro 15
4685
1
zář 15
16961
3
zář 23
11741