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
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
0
мар. 15
|
3191 | ||
|
0
мар. 15
|
3534 | ||
|
2
янв. 24
|
2705 | ||
|
2
июн. 22
|
4644 | ||
|
7
дек. 23
|
22196 |