[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:
parent
7c5324ead0
commit
668b82d0a9
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue