跳至內容
選單
此問題已被標幟
1 回覆
3938 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 21
15755
1
4月 21
4400
1
4月 20
3063
0
3月 20
2227
1
8月 19
6468