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öidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
heinäk. 24
|
2670 | ||
About Owl Framework Tutorial
Ratkaistu
|
|
2
toukok. 24
|
2195 | |
|
1
jouluk. 23
|
2622 | ||
|
1
kesäk. 24
|
1453 | ||
|
1
toukok. 24
|
1954 |