Skip to Content
Menú
This question has been flagged
1 Respondre
988 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 24
1656
0
de gen. 25
920
3
de des. 22
6271
0
de des. 19
2748
2
de març 15
16498