Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
2372 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 11 24
7471
0
thg 5 25
2185
1
thg 7 23
6415
7
thg 3 20
10318
1
thg 8 16
3831