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
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
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.
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
4
oct. 25
|
83619 | |||
|
Date format in Dashboard
Rezolvat
|
2
mai 25
|
3763 | ||
|
3
aug. 24
|
5780 | |||
|
0
oct. 23
|
4871 | |||
|
0
sept. 23
|
2901 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.