Lot of people have problems to split datetime format in report.
An exemple:
<span t-esc="o.date.split(' ')[-0].split('-')[-1] + '/' + o.date.split('-')[-2] + '/' + o.date.split('-')[0]"/>
This return format 01/01/2014
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Lot of people have problems to split datetime format in report.
An exemple:
<span t-esc="o.date.split(' ')[-0].split('-')[-1] + '/' + o.date.split('-')[-2] + '/' + o.date.split('-')[0]"/>
This return format 01/01/2014
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 3 15
|
3185 | ||
|
0
thg 3 15
|
3532 | ||
|
2
thg 1 24
|
2699 | ||
|
2
thg 6 22
|
4641 | ||
|
7
thg 12 23
|
22177 |