Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
11413 Vistas

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

How can do that?

Avatar
Descartar
Mejor respuesta


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
Descartar
Autor Mejor respuesta

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

Avatar
Descartar

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

Mejor respuesta

Pour l'admin

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