From 10ee881e655651ff2019f7652abc57076cdd9cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 31 Oct 2025 18:02:26 +0100 Subject: [PATCH] Return the data name as the action key when launching the graph_open action The ids of each record is in fact indexed by the name of the label in a pie chart Closes #14340 --- sao/src/view/graph.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sao/src/view/graph.js b/sao/src/view/graph.js index 4e52761bd3..36fd85bcb7 100644 --- a/sao/src/view/graph.js +++ b/sao/src/view/graph.js @@ -362,7 +362,8 @@ Sao.View.Graph.Pie._super._add_id.call(this, key, id); }, _action_key: function(data) { - return data.id; + // data.name is the label used for the x axis + return data.name; } });