From 748bb6481b796eb27e89a4cb6541ce88dc3272ae Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Fri, 26 Mar 2010 17:38:00 +0530 Subject: [PATCH] [IMP] point_of_sale:remove the print statement bzr revid: sbh@tinyerp.com-20100326120800-ztuvfhmz4qcltmc1 --- addons/point_of_sale/wizard/pos_payment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/wizard/pos_payment.py b/addons/point_of_sale/wizard/pos_payment.py index 585e5426d67..a86ac38278d 100644 --- a/addons/point_of_sale/wizard/pos_payment.py +++ b/addons/point_of_sale/wizard/pos_payment.py @@ -101,7 +101,7 @@ class pos_make_payment(osv.osv_memory): """ record_id = context and context.get('record_id', False) or False res = super(pos_make_payment, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False) - print "::::::::record_idrecord_id:::::::",context + if record_id: order = self.pool.get('pos.order').browse(cr, uid, record_id) amount = order.amount_total - order.amount_paid @@ -129,7 +129,7 @@ class pos_make_payment(osv.osv_memory): order = order_obj.browse(cr, uid, record_id, context) amount = order.amount_total - order.amount_paid data = self.read(cr, uid, ids)[0] - print "::::::::",data + # Todo need to check ... if amount !=0.0: invoice_wanted = data['invoice_wanted']