[IMP]:lunch: Added missing bracket in cashbox clean

bzr revid: atp@tinyerp.co.in-20100316062742-xmv2rfsiq27mtzam
This commit is contained in:
atp (Open ERP) 2010-03-16 11:57:42 +05:30
parent 6cb8124ee1
commit 1d34e6b644
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class lunch_cashbox_clean(osv.osv_memory):
## print to_unactive
## cashmove_ref.write(cr,uid,to_unactive,{'active':False})
for (user_id, box_id, amount) in res:
cashmove_ref.createcr, uid, {'name': 'Summary for user' + str(user_id),
cashmove_ref.create(cr, uid, {'name': 'Summary for user' + str(user_id),
'amount': amount,
'user_cashmove': user_id,
'box': box_id,