diff --git a/addons/point_of_sale/wizard/pos_payment.py b/addons/point_of_sale/wizard/pos_payment.py index 2b64d06d440..f5bc1ea9d8c 100644 --- a/addons/point_of_sale/wizard/pos_payment.py +++ b/addons/point_of_sale/wizard/pos_payment.py @@ -105,20 +105,23 @@ class pos_make_payment(osv.osv_memory): active_model = context.get('active_model') if not active_model and active_model != 'pos.order': return result - active_id = context.get('active_id', False) + active_id = context.get('active_id', False) if active_id: - order = self.pool.get('pos.order').browse(cr, uid, active_id) - if order.amount_total == order.amount_paid: - res['arch'] = """
- -