[FIX] Account payment: make payment

bzr revid: mra@mra-laptop-20100909061255-l86l3hxy7awikubj
This commit is contained in:
Mustufa Rangwala 2010-09-09 11:42:55 +05:30
parent 05b5623cd9
commit 0a2b5ca834
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ class account_payment_make_payment(osv.osv_memory):
# obj_model = self.pool.get('ir.model.data')
# obj_act = self.pool.get('ir.actions.act_window')
# order = obj_payment_order.browse(cr, uid, context['active_id'], context)
return obj_payment_order.set_done(cr, uid, context['active_id'], context)
obj_payment_order.set_done(cr, uid, context['active_id'], context)
return {}
# t = order.mode and order.mode.type.code or 'manual'
# if t == 'manual' :
# obj_payment_order.set_done(cr,uid,context['active_id'],context)