Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4471 Näkymät

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
Hylkää

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 24
2490
0
huhtik. 22
4154
0
jouluk. 15
4779
1
syysk. 15
17072
3
syysk. 23
11890