From 1d34e6b644e249f5dcdc5115672bc0a5d5328bdd Mon Sep 17 00:00:00 2001 From: "atp (Open ERP)" Date: Tue, 16 Mar 2010 11:57:42 +0530 Subject: [PATCH] [IMP]:lunch: Added missing bracket in cashbox clean bzr revid: atp@tinyerp.co.in-20100316062742-xmv2rfsiq27mtzam --- addons/lunch/wizard/lunch_cashbox_clean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/lunch/wizard/lunch_cashbox_clean.py b/addons/lunch/wizard/lunch_cashbox_clean.py index f70e31e0507..5656ca92dbe 100644 --- a/addons/lunch/wizard/lunch_cashbox_clean.py +++ b/addons/lunch/wizard/lunch_cashbox_clean.py @@ -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,