跳至内容
菜单
此问题已终结

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.

形象
丢弃
编写者

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.

相关帖文 回复 查看 活动
1
6月 25
4191
1
9月 19
11002
3
12月 23
46294
0
3月 15
4139
0
3月 15
4005