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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
3月 15
|
3199 | ||
|
0
3月 15
|
3535 | ||
|
2
1月 24
|
2714 | ||
|
2
6月 22
|
4651 | ||
|
7
12月 23
|
22201 |