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!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
Email Template subject parameters
Rozwiązane
|
|
1
lut 24
|
2694 | |
|
1
lip 23
|
3568 | ||
|
0
kwi 23
|
91 | ||
how can configured email
Rozwiązane
|
|
1
lis 22
|
2274 | |
How to add company logo to email templates?
Rozwiązane
|
|
3
gru 23
|
19265 |