From 4283cfb496ffdfe3eac5cfa34083445a6c8887c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Fri, 16 Apr 2021 09:22:24 +0000 Subject: [PATCH] [IMP] base: improve ir.module.module tree view This commit simply improves the modules tree view by removing the tree "decorators" and replacing it by a badge widget with associated decorators on the 'state' field. Indeed, the previous implementation could make the tree view look a bit "scary" at first opening because it would color a lot of lines in red (modules were not installed), giving it a feeling or "error" where there was none. Now the color is directly shown on the state field, making it clear it's related to that information. Task-2507703 closes odoo/odoo#69374 Signed-off-by: Thibault Delavallee (tde) --- odoo/addons/base/views/ir_module_views.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/odoo/addons/base/views/ir_module_views.xml b/odoo/addons/base/views/ir_module_views.xml index 8ea043a575f..1cbd6f2922d 100644 --- a/odoo/addons/base/views/ir_module_views.xml +++ b/odoo/addons/base/views/ir_module_views.xml @@ -143,7 +143,7 @@ ir.module.module.tree ir.module.module - +
@@ -152,7 +152,11 @@ - +