From e28e01a70f397f9ded4bac1ff060b93bf6072e40 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 12 Jan 2015 19:06:18 +0100 Subject: [PATCH] [FIX] stock: colors in tree view depending on virtual available Colors were no more applied. colors attribute from tree expects a semicolon separated string, not a dict. Regression introduced during b414e05a41bfcdbff09ac46a6fcabce480f87181 --- addons/stock/product_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index e3612010a80..275d853285d 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -23,7 +23,7 @@ - {'red':virtual_available<0, 'blue':virtual_available>=0 and state in ('draft', 'end', 'obsolete'), 'black':virtual_available>=0 and state not in ('draft', 'end', 'obsolete')} + red:virtual_available<0;blue:virtual_available>=0 and state in ('draft', 'end', 'obsolete');black:virtual_available>=0 and state not in ('draft', 'end', 'obsolete')