İçereği Atla
Menü
Bu soru işaretlendi
4 Cevaplar
11460 Görünümler

i need to change deafult timezone from utc to America/Caracas

How can do that?

Avatar
Vazgeç
En İyi Yanıt


Basically there are 2 ways:

In the User form you will see a field named Timezone(Zona Horaria), you could select your timezone. The second is a red or yellow triangle in the top right of the Odoo ui, clicking on that icon display a message that saids that there is a difference between your user and browser timezone like in the image:


Avatar
Vazgeç
Üretici En İyi Yanıt

no no no, i mean in source code, i hate configure tz in that red triangle

Avatar
Vazgeç

You need set 'America/Caracas' as default of the field 'tz' in res.user model. Also you need to set the same for the user admin thought an xml record

En İyi Yanıt

Pour l'admin

<record id="base.user_root" model="res.users">
<field name="tz">Canada/Eastern</field>
</record>
Avatar
Vazgeç