From 50d0d214304f1d8a71014c3a16e81dd4c6c4402c Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Mon, 22 Jun 2026 17:31:56 +0200 Subject: [PATCH 1/2] [IMP] web_dashboard_tile: improve tile form display. - make title bigger. - use new alert div. - align some items --- web_dashboard_tile/views/tile_tile.xml | 49 +++++++++++++++++--------- 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/web_dashboard_tile/views/tile_tile.xml b/web_dashboard_tile/views/tile_tile.xml index eb00f15a7296..0f999cd327ff 100644 --- a/web_dashboard_tile/views/tile_tile.xml +++ b/web_dashboard_tile/views/tile_tile.xml @@ -37,29 +37,44 @@
-

- -

- - - - +
+

+ +

+
+ + + + + + + + + + - - - + + + + + + + + + - + From e2f9de54c6beb9d2a52ec488c2923be8d1b0f018 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Mon, 22 Jun 2026 17:32:04 +0200 Subject: [PATCH 2/2] [FIX] webdashboard_tile: Compute tile values for all tiles, don't break computation. Rational: in v16, if all values are not compute an error is raised : 'ValueError: Compute method failed to assign tile.tile(XX).primary_formated_value' --- web_dashboard_tile/models/tile_tile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_dashboard_tile/models/tile_tile.py b/web_dashboard_tile/models/tile_tile.py index f00accbba9c8..86e583219a5b 100644 --- a/web_dashboard_tile/models/tile_tile.py +++ b/web_dashboard_tile/models/tile_tile.py @@ -202,7 +202,7 @@ def _compute_data(self): tile.primary_error = False tile.secondary_error = False if not tile.model_id or not tile.active: - return + continue model = self.env[tile.model_id.model] eval_context = self._get_eval_context() @@ -214,7 +214,7 @@ def _compute_data(self): "Domain Error" ) tile.domain_error = str(e) - return + continue fields = [ f.name for f in [tile.primary_field_id, tile.secondary_field_id] if f ]