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
Reply
5684
Views
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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
Datetime in Odoo
Solved
|
|
2
Jul 18
|
8583 | |
|
|
3
Aug 20
|
11645 | ||
|
|
0
May 26
|
6 | ||
|
|
0
May 26
|
103 | ||
|
|
0
May 26
|
85 |