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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
2467
Vues
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()"
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
avr. 25
|
7568 | ||
|
0
mars 25
|
1284 | ||
|
1
mars 25
|
30 | ||
|
0
mars 25
|
1134 | ||
|
0
févr. 25
|
1078 |