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

How to format date in Odoo 16 both in content and subject fields?

${object.request_date_from.strftime('%d/%b/%Y')} is not working in odoo 16

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


@sahar tried changing date format too



아바타
취소
베스트 답변

You can change format by going to settings --> languages

아바타
취소
작성자

I tried that, still when the email template is previewed it shows default date format.

After press on Activate and Translate smart button it should work.

작성자

I wanted it in 10-Oct-2023 format. Is %d/%b/%Y the correct format for that.

관련 게시물 답글 화면 활동
4
8월 24
78141
2
5월 25
1948
3
8월 24
4148
0
10월 23
3135
0
9월 23
1482