[FIX] account_payment: Automated test account_payment/test/account_payment.yml

bzr revid: psi@tinyerp.co.in-20101012051123-b6on1m0oslst1990
This commit is contained in:
psi (Open ERP) 2010-10-12 10:41:23 +05:30
parent 95ebd8826d
commit b1c90cee3c
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
from osv import fields, osv
class account_payment_make_payment(osv.osv_memory):
_name = 'account.payment.make.payment'
_description = 'Account make payment'
_name = "account.payment.make.payment"
_description = "Account make payment"
def launch_wizard(self, cr, uid, ids, context=None):
"""
@ -33,7 +33,7 @@ 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)
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':