Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3997 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 21
15827
1
abr. 21
4517
1
abr. 20
3140
0
mar. 20
2286
1
ago. 19
6530