Skip to Content
Menu
This question has been flagged
1 Odpoveď
2538 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
3074
1
okt 23
1962
2
okt 23
2161
2
aug 23
4185
4
aug 23
20504