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

 

Hi guys!!!!

Please, i want to know when the function on_change is called in Odoo 8?

Thanks a lot in advance


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

Hello,

In Odoo 8 you define onchange using this

@api.onchange('field name')

So whenever any change happen in field that time onchange will call.

الصورة الرمزية
إهمال
الكاتب

Thanks a lot for the answer. But, the problem is that with my on_change function it will be functional when i press the button Create. How can i resolve it please??

Sorry but didn't get you. :(

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
2251
1
يوليو 25
790
1
أغسطس 25
1150
0
مايو 25
1269
2
أبريل 25
3477