Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6208 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/


Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
1781
1
thg 5 25
1864
1
thg 4 25
2337
1
thg 2 25
1617
0
thg 10 24
1412