跳至内容
菜单
此问题已终结
1 回复
4215 查看

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. 

Thanks! 

形象
丢弃
最佳答案

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.

Thanks,

形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
55932
3
6月 23
4072
0
9月 22
1565
6
3月 24
6885
0
8月 25
116