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

hello.

I create my custome module and iwant when the the invoice was created from my module send a push notification to user how 

display notification work

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello , 

Here is an example of sending a push notification when a button is clicked—just update your parameters accordingly.


https://www.odoo.com/fr_FR/forum/aide-1/specific-odoo-notification-270643#answer-270648

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

https://apps.odoo.com/apps/modules/18.0/notify_service

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I dont want to send it like message i want a pop up notifiction like notify message that appeare in right corner wirh yellow color

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
6
พ.ย. 24
7524
0
พ.ค. 25
2230
1
ก.ค. 23
6517
Disable Odoo email notifications แก้ไขแล้ว
7
มี.ค. 20
10447
1
ส.ค. 16
3932