Skip to Content
Menu
This question has been flagged
1 Atsakyti
9527 Rodiniai

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

Portretas
Atmesti
Autorius

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
 

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
1
kov. 25
2636
2
gruod. 22
23041
0
rugp. 22
3729
0
bal. 21
5530
3
lapkr. 19
7883