hr_timsheet_invoice: fix super call
bzr revid: ced-3f4ce9b5c637e2aae0e39de4d2ff480bf851f206
This commit is contained in:
parent
9104adf641
commit
cf184ce95f
|
@ -77,7 +77,7 @@ account_analytic_line()
|
||||||
class hr_analytic_timesheet(osv.osv):
|
class hr_analytic_timesheet(osv.osv):
|
||||||
_inherit = "hr.analytic.timesheet"
|
_inherit = "hr.analytic.timesheet"
|
||||||
def on_change_account_id(self, cr, uid, ids, account_id):
|
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:
|
if not account_id:
|
||||||
return res
|
return res
|
||||||
res.setdefault('value',{})
|
res.setdefault('value',{})
|
||||||
|
|
Loading…
Reference in New Issue