Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1033 มุมมอง

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
1723
0
ม.ค. 25
980
Field does not exist error [Odoo 9.0] แก้ไขแล้ว
3
ธ.ค. 22
6307
0
ธ.ค. 19
2759
2
มี.ค. 15
16521