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

Hi guys,


Im trying to inherit from the save button of a wizard which is at the hr.leave model, i've been looking for it at the main code of Odoo, but i cant find it, i found the main wizard and i could put inside some fields, but when i see the main code, there is no button that i can inherit, does anybody know where can it be?


Thanks in advance.

頭像
捨棄
最佳答案

Search the Save button 'name' attribute (function name) from the wizard .xml file

Then search that function in the wizard .py file

Example:

Hope it help!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 24
1620
0
1月 25
891
3
12月 22
6254
0
12月 19
2729
2
3月 15
16446