From b9cf338c217a57cbce1d8fae2aa1cf5419b685d2 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Wed, 9 Sep 2015 16:48:27 +0200 Subject: [PATCH] [FIX] hr_timesheet: demo timesheet lines weren't taken into account in report --- addons/hr_timesheet/hr_timesheet_demo.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/hr_timesheet/hr_timesheet_demo.yml b/addons/hr_timesheet/hr_timesheet_demo.yml index 53545ab778e..05ec70a965a 100644 --- a/addons/hr_timesheet/hr_timesheet_demo.yml +++ b/addons/hr_timesheet/hr_timesheet_demo.yml @@ -12,6 +12,7 @@ 'product_uom_id': ref('product.product_uom_hour'), 'account_id': ref('analytic.analytic_administratif'), 'amount': -60.00, + 'is_timesheet': True, } self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_requirements') vals = { @@ -23,6 +24,7 @@ 'product_uom_id': ref('product.product_uom_hour'), 'account_id': ref('analytic.analytic_administratif'), 'amount': -30.00, + 'is_timesheet': True, } self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_design') vals = { @@ -34,6 +36,7 @@ 'product_uom_id': ref('product.product_uom_hour'), 'account_id': ref('analytic.analytic_administratif'), 'amount': -90.00, + 'is_timesheet': True, } self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_coding') vals = { @@ -45,6 +48,7 @@ 'product_uom_id': ref('product.product_uom_hour'), 'account_id': ref('analytic.analytic_administratif'), 'amount': -30.00, + 'is_timesheet': True, } self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_testing') vals = { @@ -56,5 +60,6 @@ 'product_uom_id': ref('product.product_uom_hour'), 'account_id': ref('analytic.analytic_administratif'), 'amount': -30.00, + 'is_timesheet': True, } self._update(cr, uid, 'account.analytic.line', 'hr_timesheet', vals, 'working_hours_maintenance')