Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3724 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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,

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Check delegation inheritance

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 16
22428
3
thg 5 24
15273
1
thg 6 16
3554
0
thg 5 16
3424
3
thg 1 16
6085