Skip to Content
Menu
This question has been flagged
1 Reply
4044 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
May 21
15868
1
Apr 21
4592
1
Apr 20
3198
0
Mar 20
2332
1
Aug 19
6595