From ceca1f72ee964982b32c539932688dc6cc67d243 Mon Sep 17 00:00:00 2001 From: "Somesh Khare (OpenERP)" Date: Thu, 13 Jun 2013 17:15:46 +0530 Subject: [PATCH] [FIX]: analytic_account: Analytic account of type view does not aggregate costs and revenues (Case: ref 593243) bzr revid: skh@openerp.com-20130613114546-del4g1nmy8v3czh6 --- addons/hr_timesheet/hr_timesheet_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml index 6edd2a74eea..21da4f22229 100644 --- a/addons/hr_timesheet/hr_timesheet_view.xml +++ b/addons/hr_timesheet/hr_timesheet_view.xml @@ -79,7 +79,8 @@ - {'search_default_account_id': [active_id], 'default_account_id': active_id, 'search_default_group_date': 1, 'search_default_group_journal': 1} + {'search_default_group_date': 1, 'search_default_group_journal': 1} + [('account_id','child_of', active_id)] Costs & Revenues account.analytic.line account.analytic.account