Skip to Content
Menu

Colored Tree View [basic version]

by
Odoo

31.25

v 17.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 151
Technical Name colored_tree_view_basic_version
LicenseAGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 151
Technical Name colored_tree_view_basic_version
LicenseAGPL-3

Colored Tree View [basic version]

Bring Your Odoo Lists to Life with Colored Tree View!

Overview

Tired of monotonous, hard-to-scan lists in Odoo? Colored Tree View dynamically highlights your tree view records with background colors based on conditions you define directly in the XML. Instantly draw attention to critical information, prioritize tasks visually, and gain a clearer, more intuitive understanding of your data at a glance. Say goodbye to dull lists and hello to enhanced clarity and efficiency!

Usage

Add background-x attributes to your tree tag with a domain condition.

If the result of the condition is correct, the relevant record will get a color for its background

They are similar to the built-in decorations attributes (decoration-info, decoration-muted,...)

Use one of these attributes:

carminebackground-carmine
ghostbackground-ghost
seedbackground-seed
oceanbackground-ocean
olivebackground-olive

Screenshots

<tree background-ghost="job_id == 3" background-carmine="department_id == 4">...</tree>

olive demo

<tree background-olive="not parent_id" background-ocean="not work_email">...</tree>

carmine and seed demo

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.