Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4325 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 21
16223
1
Apr 21
4962
1
Apr 20
3539
0
Mar 20
2505
1
Agu 19
6909