[MERGE] merged with lp:openobject-addons

bzr revid: shp@tinyerp.com-20121010052449-hvnp0e53d1sp6xs2
This commit is contained in:
pankita shah (Open ERP)
2012-10-10 10:54:49 +05:30
parent bea6f1bbf3
commit 28bc19896d
2 changed files with 6 additions and 0 deletions
@@ -65,6 +65,7 @@ class hr_analytic_timesheet(osv.osv):
return False
def on_change_account_id(self, cr, uid, ids, account_id, user_id, unit_amount=0):
res = {}
if not (account_id):
@@ -106,6 +107,7 @@ class hr_analytic_timesheet(osv.osv):
return res
def on_change_user_id(self, cr, uid, ids, user_id, account_id, unit_amount=0):
print "---------------onchageuser id",user_id
res = {}
if not (user_id):
#avoid a useless call to super