Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6177 Переглядів

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
1730
1
трав. 25
1737
1
квіт. 25
2299
1
лют. 25
1576
0
жовт. 24
1356