In Saudi Arabia, organizations across retail, manufacturing, logistics, and services are accelerating their digital transformation journeys in line with Vision 2030. As businesses scale, decision-makers, CFOs, and IT managers increasingly rely on Odoo ERP Saudi Arabia to gain real-time visibility into operations. However, one common challenge remains: how to quickly interpret large volumes of data without slowing down decision-making.
This is where adding colors to Odoo tree views becomes a powerful yet often overlooked enhancement. At iWesabe, a trusted Odoo partner Saudi Arabia, we help businesses optimize Odoo not just for compliance and automation, but also for usability and performance.

The Business Problem: Data Overload in Odoo Tree Views
Tree views (list views) in Odoo are heavily used by finance teams, operations managers, and executives. In Saudi organizations dealing with:
- High transaction volumes
- VAT and ZATCA compliance requirements
- Multi-branch or multi-warehouse operations
plain, unformatted lists can slow down analysis and increase the risk of oversight.
Typical pain points include:
- Difficulty identifying overdue invoices or delayed deliveries
- Manual effort to track priority records
- Reduced productivity for finance and operations teams
For businesses evaluating the best ERP system in Saudi Arabia, usability directly impacts ROI.
The Odoo Solution: Adding Colors to Tree View
Odoo allows conditional coloring in tree views using built-in attributes. This enables businesses to visually highlight records based on specific logic—such as status, amount, or deadlines—without changing core workflows.
How Tree View Coloring Works in Odoo
In Odoo, tree view colors are applied using the decoration-* attributes in XML. These decorations dynamically change the appearance of rows based on field values.
Common decoration options include:
- decoration-success – for completed or approved records
- decoration-danger – for overdue or critical items
- decoration-warning – for pending approvals
- decoration-info – for informational records
This functionality is especially valuable when implemented through Odoo customization Saudi Arabia projects.
It's an awesome feature of Odoo to color tree views. For that we can use tree view attribute colors.
Xml Syntax.
<tree colors="your_color:field== 'value'">
Example
<tree colors="grey:state == 'cancel'">
How to add colors to tree view in odoo 11 ?
For version 9, colors are replaced by the decorators. However it will support up to version 10.
But Odoo 11th version support decorators only.
The possible decorators are
decoration-bf - shows the line in BOLD
decoration-it - shows the line in ITALICS
decoration-danger - shows the line in LIGHT RED
decoration-info - shows the line in LIGHT BLUE
decoration-muted - shows the line in LIGHT GRAY
decoration-primary - shows the line in LIGHT PURPLE
decoration-success - shows the line in LIGHT GREEN
decoration-warning - shows the line in LIGHT BROWN
Syntax
<tree decoration-success="state=='done'">
Preview of decorators

This formatting is dependent on the bootstrap style.
Hope this will help you !
Practical Use Cases for Saudi Businesses
At iWesabe, one of the best ERP companies in Saudi Arabia, we frequently implement tree view coloring for real-world business needs.
Finance & Accounting (VAT and ZATCA)
For CFOs and finance managers:
- Overdue invoices highlighted in red
- VAT-relevant transactions marked clearly
- Draft vs posted entries visually differentiated
This supports faster compliance checks and reduces audit risks.
Sales & CRM Teams
Sales managers can instantly identify:
- High-value opportunities
- Lost or stalled deals
- Priority customers
Color-coded lists improve forecasting accuracy and pipeline reviews.
Inventory & Operations
Operations teams benefit from:
- Low stock alerts in warning colors
- Delayed deliveries flagged automatically
- Completed transfers marked as success
This is particularly valuable for logistics-heavy sectors in Saudi Arabia.
Benefits of Adding Colors to Tree View in Odoo
For decision-makers exploring ERP software Saudi Arabia, these enhancements deliver measurable value.
Key benefits include:
- Faster decision-making through visual prioritization
- Reduced errors by highlighting exceptions
- Higher user adoption among non-technical teams
- Improved productivity across finance and operations
- Better ROI from existing Odoo investments
These small UI improvements often have a disproportionate impact on efficiency.
Best Practices for Odoo Tree View Customization
While Odoo supports tree view decorations out of the box, improper implementation can affect maintainability. Our Odoo developers Saudi Arabia follow best practices such as:
- Avoiding hard-coded logic in core modules
- Using scalable conditions aligned with business rules
- Ensuring compatibility with future Odoo upgrades
- Testing performance on large datasets
As an official partner and gold partner, iWesabe ensures that every customization aligns with long-term ERP strategy.
Why Saudi Businesses Choose iWesabe for Odoo Customization
Selecting the right Odoo partner Saudi Arabia is critical. Beyond technical skills, local expertise matters.
iWesabe stands out because we offer:
- Deep understanding of Saudi VAT and ZATCA compliance
- Proven experience across multiple industries
- End-to-end Odoo implementation Saudi Arabia services
- Dedicated Odoo support Saudi Arabia teams
- Strategic consulting for digital transformation
Our goal is not just to configure Odoo—but to make it work smarter for your organization.
Tree View Colors as Part of a Bigger ERP Strategy
While coloring tree views may seem like a minor feature, it reflects a broader principle: ERP systems must support how people actually work.
For executives and IT leaders evaluating the best ERP system in Saudi Arabia, usability, customization, and local support are as important as features.
When combined with:
- Custom workflows
- Automated reporting
- Local compliance configurations
Odoo becomes a strategic platform for growth under Vision 2030.
Adding colors to tree view in Odoo is a simple yet powerful way to enhance visibility, reduce errors, and improve decision-making. For Saudi businesses investing in Odoo ERP Saudi Arabia, these enhancements translate directly into operational efficiency and better control.
At iWesabe, we help organizations unlock the full potential of Odoo through thoughtful customization and expert implementation.
Ready to Optimize Your Odoo ERP?
If you are looking for a reliable Odoo service Saudi Arabia provider to customize, implement, or support your ERP system, iWesabe is your trusted partner.
Contact iWesabe today to speak with our Odoo experts and discover how smart customization can transform your business operations.