Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4458 Lượt xem

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

}

}


Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 24
2458
0
thg 4 22
4146
0
thg 12 15
4768
1
thg 9 15
17065
3
thg 9 23
11884