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

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
3124
1
ต.ค. 23
2024
"Wrong value for %s: %r" % (self, value) แก้ไขแล้ว
2
ต.ค. 23
2250
2
ส.ค. 23
4264
4
ส.ค. 23
20594