From 90ddddbb87388cee03dc8d3e49181571c4047114 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 30 Apr 2021 09:56:19 +0000 Subject: [PATCH] [FIX] purchase: Bad colors in purchase.order tree view - set correct decoration-info attribute on purchase.order tree view, replacing unexisting states ('wait','confirmed') by existing ones ('draft','sent') - Move the decoration-info from tree line to name field to comply with the new display standards closes odoo/odoo#70158 Signed-off-by: Arnold Moyaux --- addons/purchase/views/purchase_views.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index 8282fafab2f..abb9f112c44 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -515,11 +515,11 @@ + decoration-muted="state=='cancel'" sample="1"> - + @@ -580,7 +580,6 @@ @@ -590,7 +589,7 @@ - +