How to add Time field in modles database??
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
6472
มุมมอง
hi kiran k
thank u for your help
it is not working as when you try to record time format such 10:50, invalid error message shows. in order to save the window after editing i have to record time format in float like 10.50 but when saving, it appears in the report 10:39 in time format.
another problem when i import excel sheet consisting of times, it show me an error that i can not import
Hi pola pola,
In Py
time = fields.Float('Time')
In XML
"time" widget="float_time"/>
Hope it helps,
Kiran K
<field name="time" widget="float_time"/>
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
3
ธ.ค. 21
|
6588 | ||
|
|
3
ก.ค. 23
|
7997 | ||
|
|
2
มี.ค. 24
|
7804 | ||
|
|
1
พ.ย. 22
|
8318 | ||
|
|
2
ต.ค. 22
|
5663 |