跳至内容
菜单
此问题已终结
4401 查看

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

}

}


形象
丢弃

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

相关帖文 回复 查看 活动
1
1月 24
2329
0
4月 22
4077
0
12月 15
4701
1
9月 15
16973
3
9月 23
11768