I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
This question has been flagged
1
Odgovori
5972
Prikazi
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
Datetime in Odoo
Solved
|
|
2
jul. 18
|
8941 | |
|
|
3
avg. 20
|
12056 | ||
|
|
0
jun. 26
|
3 | ||
|
|
0
jun. 26
|
995 | ||
|
|
0
jun. 26
|
1 |