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

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
3074
1
10月 23
1962
2
10月 23
2161
2
8月 23
4185
4
8月 23
20504