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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Email Template subject parameters
Diselesaikan
|
1
Feb 24
|
3693 | ||
|
Nothing rendered into email body_html (Odoo 16)
Diselesaikan
|
1
Jul 23
|
4740 | ||
|
0
Apr 23
|
91 | |||
|
how can configured email
Diselesaikan
|
1
Nov 22
|
2762 | ||
|
How to add company logo to email templates?
Diselesaikan
|
3
Des 23
|
20002 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.