
Master the fundamentals of Odoo OWL, including life cycle components, templates, and building blocks, through hands-on exercises and module development with JavaScript.
Explore the OWL framework for Odoo by understanding components, setting up the development environment, and building small apps, then transition to OWL within Odoo and learn to create modules.
Introduce the OWL framework, its purpose, and why it was created. Explain its small size, TypeScript implementation, XML-based rendering, and browser-based toolchain options for outside or inside Odoo.
Understand the five building blocks of the OWL architecture and how the virtual DOM, components, template compiler, runtime, and reactive system collaborate to render and update the UI efficiently.
Watch at your own pace with video controls, pause, and rewind, code along with provided resources, and repeat concepts.
Set up your development environment for owl 2.x by installing VS Code, adding the owl devtools extension offered by Odoo, and downloading the minified owl release for JavaScript projects.
Learn how to start a minimal owl project using plain html and javascript, import owl.js, create index.html and app.js, render xml templates, and mount to document body without tooling.
Refactor a JS project to ensure changes reflect in the view by using a live server, modular JavaScript with type=module, and separated components imported from route.js and mounted to document.body.
Learn to start an OWL project with webpack and npm, create a public/src structure, configure webpack and babel, and build a small interactive component that updates text on click.
Explore qweb templates in Odoo, the xml-based templating engine that renders a virtual dom of HTML through compiled functions. Master t directives like t-escape, t-if, t-for-each, and dynamic t attributes.
Learn how to output data in OWL using t-escape and t-out, compare their behavior, and render HTML with the markup utility to display tags rather than code.
Learn how to declare and use template variables with t-set and t-value in Qweb, perform rendering-time computations like 2 + 5, and reuse the variable bar throughout the view.
Master conditional directives in Odoo OWL templates using t-if, t-elif, and t-else to render age-based messages, handling undeclared age and the exact 18 case with clear end of if syntax.
Explore the Owl template loop directive t-for-each, define t for each item, and iterate over arrays or objects with keys such as id and text.
Use the t-at directive to bind attributes and render expressions at runtime, and apply t-atf formatted attributes to dynamically set classes and values like username and age.
Explore QWeb translations (t-translation), debugging (t-log), and restrictions (block-). Learn how to set up a translations object, the translate function, and translatable attributes for templates.
Explore reusing templates in owl by defining sub templates with t-name and a main template, then render them dynamically using t-call, t-set, and interpolation.
We will explore the lifecycle hooks like: setup, willStart, willRender, rendered, mounted, onWillUpdateProps, onWillPatch, onPatched, onWillUnmount, onWillDestroy and onError.
Explore OWL component lifycles through a hands-on demo, toggling a demo component and observing mount, render, patch, update props, and destroy cycles using use state.
Explore OWL hooks such as useState, useRef, and useEffect to build reactive components, manage inputs, and fetch data with dependency-driven updates, plus custom hooks like use component.
Create a custom mouse hook in the root component to track the pointer, render dynamic sub components (A or B) via t component, and display mouse x and y coordinates.
Bind form inputs to state in Odoo OWL using the t-model directive, covering input, textarea, and select, with lazy, number, and trim modifiers for real time updates.
Explore how slots in owl 2.x enable content projection between parent and child components, including default and named slots and the t set slot directive.
This course will be regularly updated with fresh content and new features, ensuring you stay current with the latest advancements introduced in the OWL framework.
Welcome to "The Complete Guide to OWL", the ultimate course for developers, and enthusiasts looking to build dynamic business applications with Odoo. Whether you are starting from scratch or have some prior experience, this course is designed to guide you step-by-step toward mastering OWL, Odoo's modern web component framework.
Throughout this comprehensive course, you will explore the fundamentals of OWL, gaining insights into its lifecycle, hooks, components, and templates. You'll learn how to work with OWL independently, outside of Odoo, and seamlessly integrate it within the Odoo platform.
With detailed video tutorials, hands-on exercises, and practical examples, you'll develop the skills to create efficient, scalable, and robust Odoo modules. By the end of the course, you'll be confident in building custom modules using OWL, whether it's for personal projects or professional deployment.
This course is perfect for both beginners and those with some experience in Odoo development. A basic understanding of JavaScript is all you need to get started.
Don’t miss the chance to future-proof your development skills and elevate your career. Enroll in "The Complete Guide to OWL" today and unlock the full potential of OWL for building high-quality Odoo applications!