コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
2415 ビュー

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
7507
0
5月 25
2196
1
7月 23
6466
7
3月 20
10371
1
8月 16
3886