CodingDodo
4 supporters
OWL in Odoo 14 - How to extend and patch ...

OWL in Odoo 14 - How to extend and patch existing OWL Components.

Aug 09, 2021

New article on Coding Dodo

I posted a new article on the website talking about how to use OWL in Odoo. Especially how to extend, override or monkey-patch OWL Components in Odoo.

I saw a lot of confusion around that subject, so in this article we cover:

  • OWL Components are ES6 (EcmaScript 6) Classes.

  • The functions patch and the patchMixin

  • Example extending Odoo ControlPanel Component with patchMixin

  • Example extending Odoo FileUpload Component with patch

  • Example extending a getter function of the Message Component with different techniques

The article is here:

https://codingdodo.com/owl-in-odoo-14-extend-and-patch-existing-owl-components/

Enjoy this post?

Buy CodingDodo a coffee