What is the main difference of both of these methods,are they both the same thing?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4117
查看
Hi,
When extending in Js, instances from the parent class remain untouched, but instances from the new child class will have the extended features.
When you include, you are adding the new features to the prototype of the parent class.
Here is a link to the blog which explains in detail about their difference.
Hope it helps
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
11月 22
|
1764 | ||
|
1
11月 22
|
1950 | ||
|
0
12月 20
|
58 | ||
|
1
3月 25
|
895 | ||
|
0
1月 22
|
2363 |