Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1060 Представления

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.

Аватар
Отменить
Лучший ответ

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!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 24
1775
0
янв. 25
1013
3
дек. 22
6334
0
дек. 19
2779
2
мар. 15
16546