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?
(object.state in ('draft', 'sent') and 'Invoice_%s_' % (object.name) +time.strftime('%d.%m.%Y')) or 'Invoice%s_'% (object.name) +time.strftime('%d.%m.%Y') |
Thanks
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
Email Template subject parameters
Resolvido
|
1
fev. 24
|
3699 | ||
|
1
jul. 23
|
4749 | |||
|
0
abr. 23
|
91 | |||
|
how can configured email
Resolvido
|
1
nov. 22
|
2764 | ||
|
3
dez. 23
|
20008 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.