Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
9288 Widoki

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

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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
 

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 25
2514
2
gru 22
22835
0
sie 22
3566
0
kwi 21
5336
Qweb Inheritance Rozwiązane
3
lis 19
7658