
Coding Dodo is an online resource for ERP and Odoo Python Developers! For business inquiries @_philDL
Réunion Island
Joined March 2021
- Tweets56
- Following143
- Followers436
- Likes83
We begin the series about Odoo 15 JavaScript with a Reference article! 🥳
Odoo-module syntax, new WebClient architecture explained, new OWL Views, assets bundling, Services registry, New Model class, Hooks, and more...
codingdodo.com/odoo-15-javas…
Coding Dodo retweeted
Big release for github.com/PhilDL/ts-ghost/t… today 🎉. The @Ghost Admin API is now 90% covered with this release. You can now have Type-safe mutations (add, edit, delete) from input to output, validated with Zod Schemas! 1/3
New Odoo 16 JavaScript Tutorial, how to create Field "widgets" in pure OWL Component, we cover lifecycle hooks, async external libs loading, Bus events, props extracting from XML, take a look!
codingdodo.com/create-field-…
Replying to @GDebongnie
Good job to you and the team! I was a bit sad to see the Router go away in Owl 2, but I understand the incentive. So I made a basic reimplementation based on Navigo if anyone is interested/need it gist.github.com/PhilDL/ae303…
1
4
In this article, I tried the "git diff view" to show you what changed but you can still copy code from it but it will contain the annoying "minus" and "plus".
Let me know if you found it useful or actually annoying 😂.
2
2
Following last week's article about new features of Odoo 15 OWL Framework, let's practice now!
codingdodo.com/odoo-15-owl-v…
In this article, we migrate our hierarchical tree OWL View (Odoo 14) to the new WebClient architecture, new module system, new Model, Renderers, etc
Replying to @rccardero88
Hi, there is an open issue on GitHub github.com/Coding-Dodo/owl_t… it seems to be the same issue as yours, could you check it ?
Replying to @BiznisSolution
You could extend the Pivot view and do whatever you need yes. Extending only the Renderer won’t be enough probably, you will have to touch the Model, the orm queries, etc… not an easy task honestly 😅
Updated Article "How to patch/extend OWL Components in Odoo 14". Specifically for the need to override getters/setters function.
Odoo 15 improved the "patch" function to handle get/set but it is not backported yet.
For now add it yourself, example: github.com/Coding-Dodo/owl_t…
The third part of our series about Odoo 14 JS is out! We add Drag 'n Drop functionalities to our OWL Component.
We also update our View to react to the SearchPanel.
codingdodo.com/odoo-javascri…
This is the last part about Odoo 14 OWL, Odoo 15 coming next.
Replying to @ashish__hirpara
Thank you so much for your kind words! I'm using @gifoxapp for screen recording. For now, it has been very good 👍
1
New article is out, we apply our Odoo JavaScript MVC knowledge and add OWL on top of it!
Odoo JavaScript Tutorial 101 - Part 2: Creating a new OWL View codingdodo.com/odoo-javascri…
Following our heavy on theory #Odoo JavaScript 101 Tutorial, we will build now! We will create this OWL View from scratch, a hierarchical tree view with Drag 'n Drop for parent/child models.
Coming Monday 20 September, subscribe to codingdodo.com to not miss it!
Still, keep in mind that for example, if you are using JS and if for exemple you declare Static properties in your classes you will add other incompatibility issues. It will really depend on the code you add yourself or in future OWL modules written. caniuse.com/?search=es6
1
Replying to @thatodooguy
It’s possible to have incompatibility yes if some of your wesite/portal visitors use IE or old Safari but same as with any modern-ish JS frameworks. OWL enforces ES6 classes at the very least. So all ES6 (2015) compatible browsers will be fine.
2
Replying to @JamalDarwicheh
Thank you! I understand your concern and I hesitated a lot to create that tutorial. Odoo 14 is in a strange place and OWL views are just OwlRenderer for now so I thought it would be useful to understand the MVC.
See it as a reference for old versions, I will do v15 soon.
1

