[FIX] point_of_sale: remove the call of the report in the pos.payment wizard

bzr revid: stw@openerp.com-20120605113839-c7pb1czizw38epau
This commit is contained in:
Stephane Wirtel 2012-06-05 13:38:39 +02:00
parent 7c5324ead0
commit 668b82d0a9
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ class pos_make_payment(osv.osv_memory):
if order_obj.test_paid(cr, uid, [active_id]):
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'pos.order', active_id, 'paid', cr)
return self.print_report(cr, uid, ids, context=context)
return {'type' : 'ir.actions.act_window_close' }
##self.print_report(cr, uid, ids, context=context)
return self.launch_payment(cr, uid, ids, context=context)