I want to put the delivery date on my sale order confirmation email, but it automatically puts the date + time. However, since it’s only an estimation, I don’t want to add the time to it. How can I remove it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
2485
Ansichten
At the end of your t-out expression (replaces the placeholders in the v15), add this: .date(). It will remove the time from your date-time format.
Example: t-out="object.expected_date.date()"
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Apr. 25
|
7643 | ||
|
0
März 25
|
1290 | ||
|
1
März 25
|
30 | ||
|
0
März 25
|
1146 | ||
|
0
Feb. 25
|
1102 |