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

Hello, I'm trying to implement a functionality that updates a field value on button click. So far my code returns just a console log since i can't get the work around odoo js. 
My questions are: 
How do i get the context and how do I update the context so when I save the record my calculated value from JS is saved. Or is there another way to update an input field value using Odoo js. 

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

Hi, did you found any answer to that ?

الصورة الرمزية
إهمال