Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When I create a new leave request, the related server action create an email with date and time like this:
The time is always wrong (-1 hour). All users are within time zone GTM+1.
How can I send email with propper time (GTM+1)?
The explanation for that is simple.. odoo/openerp server should be always in UTC time... and users timezones should be chosen according to current timezone settings. Odoo will always write UTC times in database (without timezone) and show times in current user time zone.
In your case, i guess that your server is also in GMT timezone(wich is UTC +1) and times shown in your e-mails are -1hr.
You should check your server timezone with: date +%Z
and if it is not UTC, run: sudo dpkg-reconfigure tzdata (valid for ubuntu/debian servers)
for more info on that matter please refer to this question or serch official documentation
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/23/14, 12:30 PM|
|Seen: 2597 times|
|Last updated: 2/18/17, 1:07 PM|