跳至內容
選單
此問題已被標幟
4426 瀏覽次數

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
2388
0
4月 22
4113
0
12月 15
4724
1
9月 15
17000
3
9月 23
11788