Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1415 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Sep 25
2508
0
Jan 25
1404
3
Des 22
6713
0
Des 19
3160
2
Mar 15
17078