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.
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
juil. 24
|
4007 | ||
|
About Owl Framework Tutorial
Résolu
|
|
2
mai 24
|
2962 | |
|
|
1
déc. 23
|
3373 | ||
|
|
1
juin 24
|
2123 | ||
|
|
1
mai 24
|
2768 |