跳至內容
選單
此問題已被標幟
5 回覆
2451 瀏覽次數

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 ,
} ,
}
頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
6
11月 24
7510
0
5月 25
2208
1
7月 23
6491
7
3月 20
10401
1
8月 16
3905