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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|  | 2 jul. 24  | 4036 | ||
| 
            
                About Owl Framework Tutorial
            
            
                    Resolvido
            
         |  | 2 mai. 24  | 2975 | |
|  | 1 dez. 23  | 3382 | ||
|  | 1 jun. 24  | 2129 | ||
|  | 1 mai. 24  | 2779 |