From e3f3ea347b7f4e1f8f7e436e98e68be635cd45c5 Mon Sep 17 00:00:00 2001 From: Kartik Chavda Date: Fri, 20 Aug 2021 11:15:04 +0000 Subject: [PATCH] [FIX] analytic: add seach view for cost/revenue stat button Purpose of this commit change search view that display in act_window view that open by cost/revenue stat button in analytic account form view.It displays the search view that come from timesheet, it should be display search view of analytic items. So, In this commit add analytic items search view in action of cost/revenue stat button. Task Id: 2622912 closes odoo/odoo#76999 X-original-commit: 8a6145ca809168080a1a2162f2d6da98b6e5c7e2 Signed-off-by: LTU-Odoo --- .../analytic/views/analytic_account_views.xml | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml index a07d868c71a..e1e5f83f93b 100644 --- a/addons/analytic/views/analytic_account_views.xml +++ b/addons/analytic/views/analytic_account_views.xml @@ -124,6 +124,25 @@ + + account.analytic.line.select + account.analytic.line + + + + + + + + + + + + + + + + {'search_default_group_date': 1, 'default_account_id': active_id} [('account_id','=', active_id)] @@ -131,6 +150,7 @@ account.analytic.line tree,form,graph,pivot +

No activity yet on this account @@ -314,25 +334,6 @@ - - account.analytic.line.select - account.analytic.line - - - - - - - - - - - - - - - - account.analytic.line.graph account.analytic.line