İçereği Atla
Menü
Bu soru işaretlendi
3099 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 24
1630
2
Ara 23
3363
0
Eki 25
343
0
Eki 25
325
2
Eki 25
5903