Skip to Content
मेन्यू
This question has been flagged
2 Replies
2497 Views

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

Avatar
Discard
Author Best Answer


@sahar tried changing date format too



Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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.

Author

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

Related Posts Replies Views Activity
4
अग॰ 24
77172
2
मई 25
1706
3
अग॰ 24
3842
0
अक्तू॰ 23
2925
0
सित॰ 23
1329