Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4013 Vues

I'm studying web module of Odoo12, and I'm trying to find where Odoo creates DOM. As I understand it creates DOM elements from XML view files but what function is doing this? can't find by myself

Avatar
Ignorer
Meilleure réponse

for each view, odoo has renderer file which converts provided XML syntax by view_loads/field_view_get to HTML DOM 
e.g form view creteated by from_renderer.js 
https://github.com/odoo/odoo/blob/12.0/addons/web/static/src/js/views/form/form_renderer.js

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 21
15848
1
avr. 21
4543
1
avr. 20
3150
0
mars 20
2303
1
août 19
6557