[FIX]: Fix on_change_analytic_id problem

bzr revid: atp@tinyerp.com-20121010150849-u4cldadvfjzmw8mj
This commit is contained in:
Atul Patel (OpenERP)
2012-10-10 20:38:49 +05:30
parent d639f10dad
commit e2a28b011a
4 changed files with 5 additions and 5 deletions
@@ -66,7 +66,7 @@ class hr_analytic_timesheet(osv.osv):
def on_change_account_id(self, cr, uid, ids, account_id, user_id, unit_amount=0):
def on_change_account_id(self, cr, uid, ids, account_id, user_id=False, unit_amount=0):
res = {}
if not (account_id):
#avoid a useless call to super