Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6147 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
lug 25
1705
1
mag 25
1698
1
apr 25
2277
1
feb 25
1563
0
ott 24
1319