Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4420 Widoki

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

}

}


Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
1
sty 24
2356
0
kwi 22
4098
0
gru 15
4715
1
wrz 15
16988
3
wrz 23
11778