From 8347d36bf154024d3f48fb121cbcbd0f809a8666 Mon Sep 17 00:00:00 2001 From: Nicolas Seinlet Date: Mon, 29 Dec 2014 15:08:18 +0100 Subject: [PATCH] [FIX] use inner join to avoid null id's in read_group --- addons/hr_timesheet/report/hr_timesheet_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet/report/hr_timesheet_report.py b/addons/hr_timesheet/report/hr_timesheet_report.py index 89a599c7539..c5f5f2d6af3 100644 --- a/addons/hr_timesheet/report/hr_timesheet_report.py +++ b/addons/hr_timesheet/report/hr_timesheet_report.py @@ -39,7 +39,7 @@ class hr_timesheet_report(osv.osv): def _from(self): from_str = """ account_analytic_line as aal - left join hr_analytic_timesheet as hat ON (hat.line_id=aal.id) + inner join hr_analytic_timesheet as hat ON (hat.line_id=aal.id) """ return from_str