Skip to Content
Menu

Colored Tree View

by
Odoo
v 13.0 Third Party 9 116
Download for v 13.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 112
Technical Name colored_tree_view
LicenseAGPL-3
Websitehttps://github.com/ali-badran-95
Versions 13.0 14.0 15.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 112
Technical Name colored_tree_view
LicenseAGPL-3
Websitehttps://github.com/ali-badran-95
Versions 13.0 14.0 15.0 16.0

Colored Tree View

Change Your Tree Records Color

Overview

Each record of a tree can be colored according to a few simple conditions. The arch description of the tree may have one of the background-x attribute to add a brilliant background color.

Using

To change a color of a tree record according to specific conditions, you can use one of background-x attributes with the correct domain that matches the conditions.

You can select one of these background-attributes in your tree view:

background-carmine
background-ghost
background-seed
background-soil
background-olive

Note: You have to put this module in the dependencies of your module

Screenshots

<tree background-olive="job_id == 3">...</tree>

<tree background-seed="not parent_id" background-carmine="not work_email">...</tree>

<tree background-soil="department_id == 4">...</tree>

Ali Badran
linkedin.com/in/ali-s-badran
ali-badran-95

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
amazing
by
Mohammad597
on 8/16/22, 1:58 AM

wonderful customizing on the tree view


There are no comments yet!