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

Hello everybody!!!

Can anyone help me know how to call the save function of odoo in javascript file.

Need help my friends.

THanks a lot in advance.

Best regards .

الصورة الرمزية
إهمال
أفضل إجابة

 

In the web/static/src/js/views/form_view.js module, you can start by looking into this piece of code:

this.$buttons.on('click', '.o_form_button_save', this.on_button_save);
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يناير 19
5955
0
أغسطس 23
194
1
فبراير 22
3018
9
سبتمبر 20
44824
0
أغسطس 20
3303