Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1218 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 24
2036
0
sty 25
1176
3
gru 22
6474
0
gru 19
2975
2
mar 15
16734