跳至内容
菜单
此问题已终结
1 回复
6152 查看

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

相关帖文 回复 查看 活动
1
7月 25
1708
1
5月 25
1702
1
4月 25
2278
1
2月 25
1564
0
10月 24
1319