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

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
3201
1
10月 23
2091
2
10月 23
2331
2
8月 23
4352
4
8月 23
20694