hr_timsheet_invoice: fix super call

bzr revid: ced-3f4ce9b5c637e2aae0e39de4d2ff480bf851f206
This commit is contained in:
ced 2007-07-02 13:06:13 +00:00
parent 9104adf641
commit cf184ce95f
1 changed files with 1 additions and 1 deletions

View File

@ -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',{})