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
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
Email Template subject parameters
Вирішено
|
1
лют. 24
|
3718 | ||
|
1
лип. 23
|
4778 | |||
|
0
квіт. 23
|
91 | |||
|
how can configured email
Вирішено
|
1
лист. 22
|
2776 | ||
|
3
груд. 23
|
20023 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.