I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
La domanda è stata contrassegnata
1
Rispondi
5978
Visualizzazioni
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
Datetime in Odoo
Risolto
|
|
2
lug 18
|
8952 | |
|
|
3
ago 20
|
12063 | ||
|
|
0
giu 26
|
3 | ||
|
|
0
giu 26
|
995 | ||
|
|
0
giu 26
|
1 |