From 9997f82fb7f0b6c608ce952ba549f60f9cb314ff Mon Sep 17 00:00:00 2001 From: Arnaud LAYEC Date: Thu, 31 Oct 2024 15:47:10 +0100 Subject: [PATCH] [16.0][IMP][project_parent] Hide button box if no children projects --- project_parent/views/project_parent_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/project_parent/views/project_parent_views.xml b/project_parent/views/project_parent_views.xml index 0a40d7cd47..b0acc31e63 100644 --- a/project_parent/views/project_parent_views.xml +++ b/project_parent/views/project_parent_views.xml @@ -16,6 +16,7 @@ License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). --> class="oe_stat_button" type="object" icon="fa-tasks" + attrs="{'invisible': [('child_ids_count', '=', 0)]}" >