[FIX]hr_timesheet_sheet: report, the join clause of the view was wrong, account_analytic_line is join with hr_timesheet_sheet_sheet thanks to the sheet_id (hat.sheet_id=htss.id), not with the line_id (hat.line_id=htss.id)

bzr revid: dle@openerp.com-20131125142624-wilbjmlgy9yubcgk
This commit is contained in:
Denis Ledoux 2013-11-25 15:26:24 +01:00
parent 9635119fc1
commit 40a7a5dc64
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class timesheet_report(osv.osv):
htss.state
from account_analytic_line as aal
left join hr_analytic_timesheet as hat ON (hat.line_id=aal.id)
left join hr_timesheet_sheet_sheet as htss ON (hat.line_id=htss.id)
left join hr_timesheet_sheet_sheet as htss ON (hat.sheet_id=htss.id)
group by
aal.account_id,
aal.date,