Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9331 Lượt xem

I am trying to inherit a Qweb templated which is as follows the path on odoo github

github link

and my code is as follows.

Github gist with my code 

But i am unable to  see the changes on frontend on website of my custom code , it is always picking the original template

Ảnh đại diện
Huỷ bỏ
Tác giả

I don't know why but my code is not showing here

Câu trả lời hay nhất

Because Provided Template render at client site (it's not server-side render web)
you have to extend it js extension 

register assets/XML file in the manifest file
use t-extend and t-jquery to inherit original template

ref
https://www.odoo.com/documentation/13.0/developer/reference/qweb.html#qweb
 

Ảnh đại diện
Huỷ bỏ

No, it's not. OWL is still out of reach of 14.0 :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
2562
2
thg 12 22
22870
0
thg 8 22
3609
0
thg 4 21
5388
Qweb Inheritance Đã xử lý
3
thg 11 19
7716