Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4475 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 24
2503
0
เม.ย. 22
4157
0
ธ.ค. 15
4780
How cron job works in OpenERP ? แก้ไขแล้ว
1
ก.ย. 15
17075
3
ก.ย. 23
11902