Skip to Content
Menu
This question has been flagged
1 Odpoveď
2676 Zobrazenia

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

Avatar
Zrušiť
Best Answer

Hello loay elhaj,

Please find code in Comment. 

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

Avatar
Zrušiť

Try this,

class ClassName(models.Model):

_inherit = 'model_name'

#overwrite_Method
def onchange_method(self):
pass

Related Posts Replies Zobrazenia Aktivita
0
dec 20
3201
1
okt 23
2091
2
okt 23
2331
2
aug 23
4352
4
aug 23
20694