in the documentation, it was just mentioned as a passing remark
But is there any example I can refer to?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
in the documentation, it was just mentioned as a passing remark
But is there any example I can refer to?
I think it should be done some like this:
patch(ClassToPatch, {
components: {
...(ClassToPatch.components || {}),
Dropdown,
DropdownItem,
}
})Hi,
Please refer to the following blog for an understanding the working of patching, with example:
https://www.cybrosys.com/blog/how-to-patch-existing-owl-component-in-odoo-17
Hope it helps.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
2
thg 7 24
|
4038 | ||
|
About Owl Framework Tutorial
Đã xử lý
|
|
2
thg 5 24
|
2976 | |
|
|
1
thg 12 23
|
3382 | ||
|
|
1
thg 6 24
|
2130 | ||
|
|
1
thg 5 24
|
2779 |