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

with _inherits can I copy a complete model to my new model? with all fields functions and views? OR is this only for 1 field or 1 function?

I try to make a new modul, that inherits all (fields, views, function) of the hr_timesheet modul.

Is this possible?

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

Hello,

IMHO I think _inherits will copy [delegation] the model "fields + functions" not the views.

You can check these links1, links2 for further details

Hope it could help

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 16
3756
1
thg 9 15
4527
0
thg 9 19
4390
1
thg 11 16
3672
0
thg 5 16
3489