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

what is the use of this._super() and this._super.apply(). can you give me the definition?

In which case, we can use this._super() and this._super.apply().

what is the difference between include() and extend() odoo javascript?

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

Hi, I can tell you the difference between include and extend.

Include, is for modify an existing widget

Exclude, is for create a new widget  inheriting from the older one.

Include is like use _inherit in odoo python code for modify a model

Exclude is like use _inherit and _name  for create a new model inheriting from the older one.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 18
8790
2
thg 2 18
4517
0
thg 10 17
4980
4
thg 10 17
4403
0
thg 6 24
941