Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6242 Ansichten

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
Verwerfen
Beste Antwort

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

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 25
1961
1
Mai 25
2048
1
Apr. 25
2480
1
Feb. 25
1751
0
Okt. 24
1494