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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
4508
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký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 |
Display confirmation box: http://learnopenerp.blogspot.com/2017/12/how-to-display-confirmation-display-box.html
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.