跳至内容
菜单
此问题已终结
5 回复
2469 查看

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
7518
0
5月 25
2224
1
7月 23
6507
7
3月 20
10439
1
8月 16
3927