Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1018 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 24
1707
0
jan. 25
964
3
dez. 22
6301
0
dez. 19
2757
2
mar. 15
16514