I have a Datetime field in Sale order, when i print sale report it shows me that field in UTC time, how can i convert it to users timezone?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
4167
화면
Hello Darth Vader,
You can get the date and time according to the user's timezone by using context_timestamp on report field.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
For Example:
<p class="m-0" t-esc="context_timestamp(doc.confirmation_date).strftime('%m/%d/%Y, %H:%M:%S')"/>
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
10월 16
|
8488 | ||
|
3
1월 25
|
3160 | ||
|
3
1월 25
|
2489 | ||
|
1
1월 24
|
1168 | ||
Time & Date Issue
해결 완료
|
|
6
9월 19
|
10410 |