How to automatically change the color of line in tree view after perticular time??????
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ờ
But can i change the color based on perticular time intervel? .....for example after 30 minutes colour of line in tree view automatically get change....
Hello Yojana walnuj,
You can change the color of tree view conditionally/based on field value.
odoo supports following decoration attributes on tree views.
'decoration-bf',
'decoration-it',
'decoration-danger',
'decoration-info',
'decoration-muted',
'decoration-primary',
'decoration-success',
'decoration-warning',
You can use it like this decoration-muted="state=='cancel'" as an attribute in the tree view definition.
I hope this may help you.
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ý