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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
2476
Vistas
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()"
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
abr 25
|
7587 | ||
|
0
mar 25
|
1286 | ||
|
1
mar 25
|
30 | ||
|
0
mar 25
|
1140 | ||
|
0
feb 25
|
1085 |