تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
9280 أدوات العرض

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
مارس 25
2510
2
ديسمبر 22
22830
0
أغسطس 22
3559
0
أبريل 21
5329
Qweb Inheritance تم الحل
3
نوفمبر 19
7654