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

I want to pop an alert (bootstrap style or whatever) after creating or editing a record. The alert simply notice the user whether a record is successfully created/saved or not. I wonder if there is any way to do so in Javascript or Python Code.

Ảnh đại diện
Huỷ bỏ
Tác giả

I know the confirmation box, but the point is that, my alert is depending on the response status from the server, which necessarily need to handle at the callback of the server calling functions.

Odoo have this feature too, when connection lost or saved a record with an invalid field. You can try it yourself, and the alert is on the top right corner of the page.

Therefore, I wonder, if it is possible to customize the function, such that it can also show successfully saved message by the similar format.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
4236
1
thg 9 19
11051
3
thg 12 23
46345
0
thg 3 15
4173
0
thg 3 15
4053