تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4473 أدوات العرض

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
يونيو 25
4191
1
سبتمبر 19
11001
3
ديسمبر 23
46292
0
مارس 15
4139
0
مارس 15
4005