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

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
3657
1
أكتوبر 23
2567
2
أكتوبر 23
2800
2
أغسطس 23
4992
4
أغسطس 23
21388