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

I try to import the view of hr_timesheet_sheet to a new modul. How can i handle this?


for example I want to import only the employee_id from hr_timesheet_sheet to a new modul.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I'm not sure what you are trying to get. 1) To inherit a view just add in your xml record. 2) if you want employee_id in other module, just create a related field in your new model field_name = fields.Many2one(relaed='hr_timesheet_sheet.employee_id', ... Kind regards,

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Check delegation inheritance

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 16
22479
How can I create a Popup Message? แก้ไขแล้ว
3
พ.ค. 24
15350
1
มิ.ย. 16
3601
0
พ.ค. 16
3477
3
ม.ค. 16
6119