From d3b7002cee425b78d9e817f607737ae51eae85d7 Mon Sep 17 00:00:00 2001 From: "John Laterre (jol)" Date: Tue, 12 Sep 2023 17:06:52 +0200 Subject: [PATCH] [FIX] account: harmonize analytic search view With this [commit](https://github.com/odoo/odoo/commit/adb8ec875c9b4e299147c46dc60a87fd26fff91f), we created a new 'Analytic Reporting' menuitem. But no `search_view_id` was specified, so it was falling back on the one from `hr_timesheet` (when installed), which we don't want. This commit fixes that by forcing the use of the one defined in `analytic`. task-3463639 closes odoo/odoo#138165 X-original-commit: ed60f37205acf85c05338b0cd00f4e2f5056de60 Signed-off-by: Florian Gilbert (flg) Signed-off-by: John Laterre (jol) --- addons/account/views/account_analytic_line_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/views/account_analytic_line_views.xml b/addons/account/views/account_analytic_line_views.xml index 5d036d3076a..6911f809853 100644 --- a/addons/account/views/account_analytic_line_views.xml +++ b/addons/account/views/account_analytic_line_views.xml @@ -85,6 +85,8 @@ Analytic Reporting account.analytic.line pivot + + {'search_default_group_by_analytic_account': 1}