Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
11464 Представления

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

How can do that?

Аватар
Отменить
Лучший ответ


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:


Аватар
Отменить
Автор Лучший ответ

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

Аватар
Отменить

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

Лучший ответ

Pour l'admin

<record id="base.user_root" model="res.users">
<field name="tz">Canada/Eastern</field>
</record>
Аватар
Отменить