Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1316 Zobrazení

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šit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 25
2324
0
led 25
1302
3
pro 22
6593
0
pro 19
3090
2
bře 15
16909