Skip to Content
Menu
This question has been flagged
1 Odpoveď
1425 Zobrazenia

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.

Avatar
Zrušiť
Best Answer

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!

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
sep 25
2516
0
jan 25
1418
3
dec 22
6719
0
dec 19
3163
2
mar 15
17085