Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3466 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 21
15251
1
abr 21
3735
1
abr 20
2572
0
mar 20
1748
1
ago 19
6115