Skip to Content
Menú
This question has been flagged
1 Respondre
6145 Vistes

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
Descartar
Best Answer

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
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
1
de jul. 25
1704
1
de maig 25
1695
1
d’abr. 25
2275
1
de febr. 25
1560
0
d’oct. 24
1318