Odoo Help


Odoo 8 Accounting - List View Row's Color

Enzo de Villarreal
on 8/6/16, 6:05 AM 740 views

When in the accounting module, you have a list of all the invoices created. Normal color is grey, but when cancelled they become a lighter grey and when still open (pending payment) the become black. 

These colors are applied via inline CSS, and then I don't know where this information is stored. I would like to change colors to something easier to discern and/or add bold and strikethrough styles. 

Does anybody know where I can change this? I don't know if it is an XML file in the server, or view configuration. 



Jignesh Mehta

--Jignesh Mehta--
| 6 5 8
Surat, India
--Jignesh Mehta--

- I have 3+ years of Industry Experience, specializing Odoo Development, Analysis, Customization, Implementation, Integration.
- I have done many Customization modules in Sale, Purchase, Point of Sale, Inventory, CRM and much more. Also Worked in the Odoo Themes like Business Theme or E-Commerce Theme.
- Develop Jewelery Manufacturing process from Scratch. It have more than 10 Department. Develop PDF and Excel reports for this project around 150 per format.

Jignesh Mehta
On 8/6/16, 7:16 AM

Hello Enzo,

You can change it from the XML file. In the invoice tree view, you can see it the color is defined with invoice status.

Ex :-

<tree colors="blue:state == 'draft';black:state in ('proforma','proforma2','open');gray:state == 'cancel'" string="Invoice">

Try with this example.

Hope it will works for you.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/6/16, 6:05 AM
Seen: 740 times
Last updated: 8/6/16, 7:21 AM