跳至內容
選單
此問題已被標幟
1 回覆
2970 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
0
12月 20
3685
1
10月 23
2572
2
10月 23
2804
2
8月 23
5011
4
8月 23
21400