CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
The Question has been closed for reason: duplicate questionby
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
Odoo Training Center
|Asked: 12/10/13, 6:06 PM|
|Seen: 784 times|
|Last updated: 3/16/15, 8:10 AM|