Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3888 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 21
15713
1
kwi 21
4355
1
kwi 20
2994
0
mar 20
2187
1
sie 19
6421