-
Opening Keynote - Unveiling Odoo 19
Fabien PinckaersOpravljeno
-
Keynote - Industries
Fabien PinckaersOpravljeno
-
XMLRPC is dead. All Hail JSON-2.
Julien Castiaux (juc)Opravljeno
-
Developing Odoo modules using AI: a practical guideJoseph CaburnayOpravljeno
-
Testing your code in Odoo: Why and how should you do it?
Julien MougenotOpravljeno
-
Discover how we made Odoo blazing fastCédric ThiryOpravljeno
-
Point of sale: Replicating Python to JavaScript models for a resilient frontend
Loukas WetsOpravljeno
-
Unveiling the most common security issues
Denis LedouxOpravljeno
-
Unveiling Paper-Muncher: The secret of web engines and understanding large document generation
Lou HabertOpravljeno
-
Multiple PostgreSQL servers behind Odoo
Nicolas SeinletOpravljeno
Loading Video...
How to write your website's custom JavaScript with Interactions
Developer
Location: Hall 11.A
-
18. 09. 25, 15:30
-
18. 09. 25, 16:00
(Europe/Brussels)
(30 minut)
Robin Lejeune
Software Developer
at Odoo
Robin Lejeune
Software Developer
at 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.