is there a way to add the current date to the attachement name in the email template?
In the QWeb Reports it's possible to add the (time) from python, but in the e-mail it's not working. Any tips or solutions on this?
|
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
is there a way to add the current date to the attachement name in the email template?
In the QWeb Reports it's possible to add the (time) from python, but in the e-mail it's not working. Any tips or solutions on this?
|
Thanks
UPDATED FOR ODOO 17:

Hi,
Please try with this
${datetime.datetime.now().strftime('%d.%m.%Y')}
nice, this works!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
1
Feb. 24
|
3472 | ||
|
|
1
Juli 23
|
4420 | ||
|
|
0
Apr. 23
|
91 | ||
|
how can configured email
Gelöst
|
|
1
Nov. 22
|
2645 | |
|
|
3
Dez. 23
|
19802 |