跳至內容
選單
此問題已被標幟
1 回覆
9285 瀏覽次數

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 :)

相關帖文 回覆 瀏覽次數 活動
1
3月 25
2510
2
12月 22
22832
0
8月 22
3561
0
4月 21
5332
3
11月 19
7655