Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9447 มุมมอง

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
2607
How to modify a qweb template? แก้ไขแล้ว
2
ธ.ค. 22
22978
0
ส.ค. 22
3679
0
เม.ย. 21
5473
Qweb Inheritance แก้ไขแล้ว
3
พ.ย. 19
7823