From 7a830f90045fe231d8b77a88d7d1d93e64cf9bbb Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Thu, 19 Aug 2010 11:12:52 +0530 Subject: [PATCH] [FIX] Account_payment bzr revid: mra@mra-laptop-20100819054252-4uo3nhwktm5qowmj --- addons/account_payment/wizard/account_payment_pay.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account_payment/wizard/account_payment_pay.py b/addons/account_payment/wizard/account_payment_pay.py index 20e1e10f882..3b99a2600e0 100644 --- a/addons/account_payment/wizard/account_payment_pay.py +++ b/addons/account_payment/wizard/account_payment_pay.py @@ -38,15 +38,15 @@ class account_payment_make_payment(osv.osv_memory): obj_payment_order.set_done(cr,uid,context['active_id'],context) return {} - gw= obj_payment_order.get_wizard(t) + gw = obj_payment_order.get_wizard(t) if not gw: obj_payment_order.set_done(cr,uid,context['active_id'],context) return {} module, wizard= gw - result = mod_obj._get_id(cr, uid, module, wizard) - id = mod_obj.read(cr, uid, [result], ['res_id'])[0]['res_id'] - return act_obj.read(cr, uid, [id])[0] + result = obj_model._get_id(cr, uid, module, wizard) + id = obj_model.read(cr, uid, [result], ['res_id'])[0]['res_id'] + return obj_act.read(cr, uid, [id])[0] #result['context'] = str({'fiscalyear': data['form']['fiscalyear']})