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

I need to override the functions defined in osv.AbstractModel in openerp, is it possible to achieve? or is there any workaround to achieve this scenario

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

Yes!!, You can Inherit those methods, in your target Object...

For Example:

Crm.Lead inherits an AbtractModel called "Mail.Thread"..

Hence, you can inherit/override Mail.Thread methods in Crm.Lead Object..

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 3 24
3990
1
thg 10 23
5881
1
thg 6 22
7125
4
thg 6 21
16402
2
thg 8 17
13029