Skip to Content
Menu
This question has been flagged
1 Atsakyti
2612 Rodiniai

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

Portretas
Atmesti
Best Answer

Hello loay elhaj,

Please find code in Comment. 

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

Portretas
Atmesti

Try this,

class ClassName(models.Model):

_inherit = 'model_name'

#overwrite_Method
def onchange_method(self):
pass

Related Posts Replies Rodiniai Veikla
0
gruod. 20
3121
1
spal. 23
2020
2
spal. 23
2245
2
rugp. 23
4260
4
rugp. 23
20594