Ir al contenido
Menú
Se marcó esta pregunta

Hi all,


Senior dev learning Odoo 15 for the first time.  I've been frustrated by my lack of productivity with Qweb and what should be very basic tasks of overriding the default layouts and html in my own custom theme module.  I feel I would be much more efficient if I could answer the following questions:

* How can you generate a complete list of all the template id's in the registry?

* With a known template id, how can you find the XML file that generated that template?

* If I inspect my site with web developer tools, how can I find the Qweb template id that generated any particular HTML element?

* How can I override any builtin QWeb template with a custom template that replaces or modifies any particular HTML child element?  I think this is done through a combination of template inheritance and XPath.
* Can you share any of your QWeb development tips and tricks?   

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 24
684
2
dic 23
2330
2
jun 25
377
1
may 25
96
0
may 25
474