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!
PrijaviRelated Posts | Odgovori | Prikazi | Aktivnost | |
---|---|---|---|---|
|
0
mar. 15
|
3159 | ||
|
0
mar. 15
|
3504 | ||
|
2
jan. 24
|
2668 | ||
|
2
jun. 22
|
4595 | ||
|
7
dec. 23
|
22129 |