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

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
7274
3
8월 20
10243
3
6월 25
1278
0
4월 24
2122
4
11월 23
6260