コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2358 ビュー

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
76787
2
5月 25
1573
3
8月 24
3678
0
10月 23
2734
0
9月 23
1213