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

I would like to show the date but not time of a quotation.

for variable doc.date_order, it shows something like 11/18/2016 18:07:43, but I only want the date to be shown.

Any idea how to set the date format?

아바타
취소
베스트 답변

Hi Robert

I have explained to Damian

https://www.odoo.com/forum/help-1/question/change-date-format-from-date-time-to-just-date-110791#answer-110806

May cause problem at all references  if you change the field type.

I shall explained you another solution. You make invisible the existing field. Then add an additional Date field in form.

Then pass the value of new field to old field by overriding create and write method.

All the best !


아바타
취소
베스트 답변

You could just set the widget date for that field in the view and I think that you will be ok

아바타
취소
관련 게시물 답글 화면 활동
2
1월 24
2618
2
6월 22
4561
2
6월 18
6102
2
2월 24
12608
0
10월 23
2948