diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index 69409d6a7cf..ffefd2f4df1 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -77,7 +77,7 @@ account_analytic_line() class hr_analytic_timesheet(osv.osv): _inherit = "hr.analytic.timesheet" def on_change_account_id(self, cr, uid, ids, account_id): - res = super(account_analytic_line,self).on_change_account_id(cr, uid, ids, account_id) + res = super(hr_analytic_timesheet,self).on_change_account_id(cr, uid, ids, account_id) if not account_id: return res res.setdefault('value',{})