Where can I find a list of colors and codes? I only new that 2 is the color code for red when I change the color of a task with a server action.
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ờ
3
Trả lời
25416
Lượt xem
I don't have the fish, but I can show you how to get it:
- On the Project Issue form, edit it's XML to add
<field name="color"/>
- Now try changing Issue's color's on the Issue Kanban view
- Check on the form that value showed in the Color field
Thanks. For all others: The color code for white task is 0
For data tags we have totaly 11 colar:
Odoo16 /odoo/addons/web/static/src/legacy/xml/base.xml line 1121
# data-color="1" title="Red"
# data-color="2" title="Orange"
# data-color="3" title="Yellow"
# data-color="4" title="Light blue"
# data-color="5" title="Dark purple"
# data-color="6" title="Salmon pink"
# data-color="7" title="Medium blue"
# data-color="8" title="Dark blue"
# data-color="9" title="Fushia"
# data-color="10" title="Green"
# data-color="11" title="Purple"
In v14:
- None: 0
- Red: 1
- Orange: 2
- Yellow: 3
- Blue: 4
- Dark Purple: 5
- ... colors in the are placed in order
It's even easier to check if you add the field `` in the kanban view.
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 | |
---|---|---|---|---|
color code in odoo tree view
Đã xử lý
|
|
3
thg 8 22
|
7351 | |
|
0
thg 9 23
|
1909 | ||
|
6
thg 1 19
|
9543 | ||
|
3
thg 4 17
|
10627 | ||
|
0
thg 8 16
|
4122 |