Hi, with Studio I added a field in the Contact screen to set a date. Is there a way to add another field below that shows the remaining days left till the date that is set in the previous field? I am familiar with simple coding if this is necessary.
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ờ
Absolutely! If you add a new field, you should be able to tell it to determine the time duration since the date entered into the prior field. JavaScript or Python, depending on your comfort with either language, can perform this function.
We use the online version (odoo.com), I think this cannot be retained. What you think?
Hi,
You can add a compute field in the same model and then subtract the selected date with today's date and then show the days left.
For adding compute field from UI: https://www.youtube.com/watch?v=j981dytxE28
For adding compute field from code: https://www.youtube.com/watch?v=RirBoceNT5Q
Thanks
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 2 24
|
3561 | ||
|
2
thg 7 25
|
12323 | ||
|
1
thg 9 21
|
3597 | ||
|
0
thg 9 20
|
3415 | ||
|
2
thg 4 16
|
5986 |