Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2883 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 20
3512
1
ต.ค. 23
2428
"Wrong value for %s: %r" % (self, value) แก้ไขแล้ว
2
ต.ค. 23
2664
2
ส.ค. 23
4813
4
ส.ค. 23
21178