I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
Pertanyaan ini telah diberikan tanda
1
Balas
5943
Tampilan
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Datetime in Odoo
Diselesaikan
|
|
2
Jul 18
|
8915 | |
|
|
3
Agu 20
|
12018 | ||
|
|
0
Jun 26
|
1 | ||
|
|
0
Jun 26
|
796 | ||
|
|
0
Jun 26
|
1 |