Skip to Content
Menú
This question has been flagged
1 Respondre
9277 Vistes

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
Descartar
Autor

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

Best Answer

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
Descartar

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

Related Posts Respostes Vistes Activitat
1
de març 25
2506
2
de des. 22
22829
0
d’ag. 22
3558
0
d’abr. 21
5329
3
de nov. 19
7653