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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
2502
Lượt xem
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()"
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 4 25
|
7772 | ||
|
0
thg 3 25
|
1315 | ||
|
1
thg 3 25
|
30 | ||
|
0
thg 3 25
|
1165 | ||
|
0
thg 2 25
|
1129 |