Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6211 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
1811
1
toukok. 25
1896
1
huhtik. 25
2354
1
helmik. 25
1652
0
lokak. 24
1433