تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
11449 أدوات العرض

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>
الصورة الرمزية
إهمال