Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
9289 Представления

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

Аватар
Отменить
Автор

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

Лучший ответ

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
 

Аватар
Отменить

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

Related Posts Ответы Просмотры Активность
1
мар. 25
2514
2
дек. 22
22835
0
авг. 22
3566
0
апр. 21
5336
Qweb Inheritance Решено
3
нояб. 19
7658