Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7122 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 24
2400
List of Color Codes? แก้ไขแล้ว
3
มี.ค. 23
25036
0
ธ.ค. 19
5532
1
ก.พ. 22
9541
3
ธ.ค. 17
4015