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!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
Email Template subject parameters
Vyřešeno
|
|
1
úno 24
|
2710 | |
|
1
čvc 23
|
3602 | ||
|
0
dub 23
|
91 | ||
how can configured email
Vyřešeno
|
|
1
lis 22
|
2282 | |
|
3
pro 23
|
19284 |