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

I have to change something in /odoo/addons/web/static/src/xml/base.xml but I'd like to change it using a module (inheritance) or some other way that does not involve directly modifying Odoo code. Is it possible?

(In fact, the problem is that the attachement create_date is displayed as is in the tooltip but should be converted to the user timezone.)

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You could do it by using the javascript directives described here:

https://doc.odoo.com/trunk/web/qweb

https://www.odoo.com/documentation/10.0/reference/qweb.html#javascript

and here at the end:

http://frederic.vanderessen.com/client-side-development-with-openerp/


อวตาร
ละทิ้ง
ผู้เขียน

I assume you're talking about the __t-extend__ directive. Thank you! :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
1745
1
พ.ค. 25
1765
QWeb: use t-if to check birthday date แก้ไขแล้ว
1
เม.ย. 25
2310
1
ก.พ. 25
1581
0
ต.ค. 24
1368