Odoo Help


Set time to user's timezone in openerp 7? [Closed]

Nick Athanasoulas
on 12/10/13, 6:06 PM 1,058 views

The Question has been closed for reason: duplicate question

Naresh Soni (nch)
on 12/11/2013 03:06:20

Hi there! I am trying to print a custom invoice. The problem is that I cannot print the user's local time. All I can is to print the in UTC Time Format. I am using the code below, but it doesn't work for displaying the time. My timezone is Europe/Athens.

I am making changes in the company's header.

Code:" <drawstring x="1cm" y="21.5cm"> [[ formatLang(time.strftime("%Y-%m-%d"), date=True) ]], Time: [[ time.strftime("%H:%M") ]]</drawstring>"

What I get: "12/10/2013, Time: 22:05"

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/10/13, 6:06 PM
Seen: 1058 times
Last updated: 3/16/15, 8:10 AM