Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3908 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 21
15729
1
dub 21
4379
1
dub 20
3029
0
bře 20
2204
1
srp 19
6441