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

I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?

아바타
취소
베스트 답변

yes, using widget="date" with the corresponding field.

example:

<field name="your_datetime_field_name" widget="date"/>
 

아바타
취소
작성자

Thank you!

관련 게시물 답글 화면 활동
Datetime in Odoo 해결 완료
2
7월 18
7290
3
8월 20
10270
3
6월 25
1302
0
4월 24
2142
4
11월 23
6305