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

I have changed the code in base __init__.py file os.environ['TZ'] = 'UTC' to os.environ['TZ'] = 'IST' 

still postgresql storing the UTC time only what i have to do to effect change in odoo server

thanks in advance


Avatar
Hylkää
Paras vastaus

In all the database you can only able to save the time in UTC only. The browser render the time according to your browser timezone.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
heinäk. 25
3227
1
tammik. 24
1479
1
helmik. 22
4591
1
heinäk. 16
3476
3
lokak. 15
17327