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

I have changed the code in base __init__.py file os.environ['TZ'] = 'UTC' to os.environ['TZ'] = 'IST' 

still postgresql storing the UTC time only what i have to do to effect change in odoo server

thanks in advance


الصورة الرمزية
إهمال
أفضل إجابة

In all the database you can only able to save the time in UTC only. The browser render the time according to your browser timezone.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 25
3188
1
يناير 24
1447
1
فبراير 22
4563
1
يوليو 16
3438
3
أكتوبر 15
17310