Adapt Invoice Due Date Format to DD/MM/YYYY instead of YYYY/DD/MM in Email Templates
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
If you want to add the invoice due date in your email template, you will need to generate and use dynamic placeholders.
First, make sure the developer mode is active. Then, search for your email templates in Settings / Technical / Email / Templates, and open the template you wish to adapt (in my case Invoice: Send by Email)
Generate your due date placeholder and copy/paste it in your email body.
Though your date format settings are set up properly in your language settings, you see that the standard format for this placeholder is YYYY-MM-DD.
In order to use the DD-MM-YYYY format, you will need to use the following placeholder: ${object.invoice_date_due.strftime('%d/%m/%Y')}
Podoba Ci się ta dyskusja? Dołącz do niej!
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ść | |
---|---|---|---|---|
|
1
lip 21
|
2974 | ||
|
1
paź 22
|
4696 | ||
|
1
kwi 24
|
1897 | ||
|
2
gru 23
|
1927 | ||
|
3
paź 23
|
8165 |