콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4999 화면

How to add Time field in modles database??

아바타
취소
작성자 베스트 답변

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"/>

관련 게시물 답글 화면 활동
3
12월 21
4805
3
7월 23
6144
2
3월 24
6084
1
11월 22
6037
2
10월 22
4026