-
Keynote - Industries
Fabien PinckaersGereed
-
Opening Keynote - Unveiling Odoo 19
Fabien PinckaersGereed
-
Testing your code in Odoo: Why and how should you do it?
Julien MougenotGereed
-
Point of sale: Replicating Python to JavaScript models for a resilient frontend
Loukas WetsGereed
-
Website import tool: How AI can rebuild your website
Ivan KlapkaGereed
-
Translations, Odoo, and you!
Tiffany ChangGereed
-
Database Whodunit: Root Cause Analysis of Performance Issues
Mohamed Kasem (kasm)Gereed
-
Tips & tricks for performant spreadsheets/dashboards
Vincent SchippefiltGereed
-
Runbot knows what you broke: Behind testing infrastructure
Christophe Monniez (moc)Gereed
-
Best practices to design Odoo crons
Thibault FrancoisGereed
Video laden...
How to write your website's custom JavaScript with Interactions
Developer
Locatie: Hall 11.A
-
18-09-2025 15:30
-
18-09-2025 16:00
(Europe/Brussels)
(30 minuten)
Robin Lejeune
Software Developer
om Odoo
Robin Lejeune
Software Developer
om Odoo
Robin has been working in the R&D Website Builder team since 2023. Between Odoo 18 and Odoo 19, he took part in developing Interactions as well as in refactoring the website builder.
As a developer, when you need to add functionalities to the frontend of your website, you might be tempted to include some global script running everywhere. What if I told you there is a better solution?
Interactions are the Odoo integrated way to inject dynamic code into your pages. They are a modernized and a more developer-friendly replacement of publicWidgets, which experienced developers in Odoo already know. With Interactions, you benefit from an actual lifecycle, with methods and a syntax closer to OWL. They start when needed and you do not have to worry about when to stop or restart them: the internals do it for you.
In this talk, I will present the code of a simple Interaction, step by step, to highlight the features and the expected way of thinking about it.