Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7344 Lượt xem

so is there any way possible to add more colors than the default colors 

decoration-warning, decoration-muted, decoration-success, decoration-primary, decoration-danger, decoration-info

 provided by odoo .. this is for the tree view which changes color of text of line on selecting different status

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

This has been asked before, see for example https://www.odoo.com/forum/help-1/how-to-create-custom-decorations-in-the-tree-view-202759

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

yes i already know there are default options to add color code by decoration primary etc.. i need to know how to add more colors other than the 6 default one ..

thankyou

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello

please refer following link to get solution.


  1. https://www.odoo.com/forum/help-1/how-to-change-color-of-line-in-tree-view-55291

  2. https://stackoverflow.com/questions/33822145/multiple-colors-in-odoo-tree-view

  3. https://www.cybrosys.com/blog/add-colors-to-tree-view-odoo-13

  4. https://www.iwesabe.com/blog/how-to-add-colors-to-tree-view-in-odoo

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 24
2400
3
thg 3 23
25398
0
thg 12 19
5640
1
thg 2 22
9719
3
thg 12 17
4125