Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6158 Представления

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
1712
1
мая 25
1709
1
апр. 25
2281
1
февр. 25
1566
0
окт. 24
1322