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.
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
2
heinäk. 24
|
4038 | ||
|
About Owl Framework Tutorial
Ratkaistu
|
|
2
toukok. 24
|
2976 | |
|
|
1
jouluk. 23
|
3382 | ||
|
|
1
kesäk. 24
|
2130 | ||
|
|
1
toukok. 24
|
2779 |