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