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
944 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
1582
0
sty 25
867
3
gru 22
6235
0
gru 19
2694
2
mar 15
16433