I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
4504
มุมมอง
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Datetime in Odoo
แก้ไขแล้ว
|
|
2
ก.ค. 18
|
7082 | |
|
3
ส.ค. 20
|
9976 | ||
|
3
มิ.ย. 25
|
1010 | ||
|
0
เม.ย. 24
|
1878 | ||
|
4
พ.ย. 23
|
6002 |