diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index 74453114bb0..8b1db95ff50 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -79,7 +79,7 @@ class account_analytic_line(osv.osv): def unlink(self, cursor, user, ids, context=None): self._check(cursor, user, ids) - return super(account_analytic_line,self).unlink(cursor, uid, ids, + return super(account_analytic_line,self).unlink(cursor, user, ids, context=context) def write(self, cr, uid, ids, vals, context=None):