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.
You can change it from the XML file. In the invoice tree view, you can see it the color is defined with invoice status.
<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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/6/16, 6:05 AM|
|Seen: 220 times|
|Last updated: 8/6/16, 7:21 AM|