Skip to Content
Menu
This question has been flagged
1 Reply
1680 Views

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

Avatar
Discard
Best Answer

Hello loay elhaj,

Please find code in Comment. 

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

Avatar
Discard

Try this,

class ClassName(models.Model):

_inherit = 'model_name'

#overwrite_Method
def onchange_method(self):
pass

Related Posts Replies Views Activity
0
Dec 20
2138
1
Oct 23
366
2
Oct 23
681
2
Aug 23
1967
4
Aug 23
18251