Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6159 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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/


Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
1712
1
kvě 25
1710
1
dub 25
2281
1
úno 25
1567
0
říj 24
1322