I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
Це запитання позначене
1
Відповісти
5980
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
Datetime in Odoo
Вирішено
|
|
2
лип. 18
|
8952 | |
|
|
3
серп. 20
|
12064 | ||
|
|
0
черв. 26
|
3 | ||
|
|
0
черв. 26
|
995 | ||
|
|
0
черв. 26
|
1 |