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

For Quotation Date in a Sales Order, we don't need the time portion.

아바타
취소
베스트 답변

Odoo leverages the Bootstrap Tempus Dominus datepicker.


The best option is to use field options to change the format used:

options="{'datepicker': {'format': 'L'}}"


Although you can change the widget used to DATE instead of DATETIME you will encounter issues if you are not in the UTC timezone, see https://github.com/odoo/odoo/issues/55827


아바타
취소
베스트 답변

Hi,

Add widget="date" along with the field by inheriting the view.

Thanks

아바타
취소

If you are in a timezone which has a negative UTC offset, you will encounter the problem I reference.

관련 게시물 답글 화면 활동
2
1월 24
2546
2
6월 22
4477
2
6월 18
6038
2
11월 16
13633
2
2월 24
12525