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: