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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
2470
Представления
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()"
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
1
апр. 25
|
7568 | ||
|
0
мар. 25
|
1284 | ||
|
1
мар. 25
|
30 | ||
|
0
мар. 25
|
1134 | ||
|
0
февр. 25
|
1078 |