İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
9335 Görünümler

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

Avatar
Vazgeç
Üretici

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

En İyi Yanı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
 

Avatar
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 25
2564
2
Ara 22
22878
0
Ağu 22
3612
0
Nis 21
5390
Qweb Inheritance Çözüldü
3
Kas 19
7725