跳至內容
選單
此問題已被標幟
4 回覆
11420 瀏覽次數

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>
頭像
捨棄