Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6210 Visninger

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
Kassér
Bedste svar

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
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
1
jul. 25
1789
1
maj 25
1883
1
apr. 25
2348
1
feb. 25
1634
0
okt. 24
1426