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

How to disable field onchange function from custom model without delete the function from source code  ?

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

Hello loay elhaj,

Please find code in Comment. 

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

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

Try this,

class ClassName(models.Model):

_inherit = 'model_name'

#overwrite_Method
def onchange_method(self):
pass

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 20
3074
1
أكتوبر 23
1962
2
أكتوبر 23
2161
2
أغسطس 23
4185
4
أغسطس 23
20504