订单tree 视图显示是否退货
-
[font=verdana][size=13px] [/size][/font]
<xpath expr="//tree[@string='Sales Orders']" position="attributes"> <attribute colors="grey:state=='cancel';green:amount_stock_return>0;blue:state in ('waiting_date','manual');red:state in ('invoice_except','shipping_except')"/> </xpath>
改成<xpath expr="//tree[@string='Sales Orders']" position="attributes"><br /><attribute name="colors"><br /> grey:state=='cancel';green:amount_stock_return>0;blue:state in ('waiting_date','manual');red:state in ('invoice_except','shipping_except')<br /> </attribute> <br /></xpath>