From db34a6bf1023598c2269120c24c28435cb8f4e19 Mon Sep 17 00:00:00 2001 From: "uco (Open ERP)" Date: Tue, 10 Aug 2010 11:20:32 +0530 Subject: [PATCH] [IMP] point_of_sale: Improved Close cash register wizard. bzr revid: uco@tinyerp.com-20100810055032-7hv90caas2c56r4m --- addons/point_of_sale/wizard/pos_close_statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/wizard/pos_close_statement.py b/addons/point_of_sale/wizard/pos_close_statement.py index 6e7dd9eb5ae..7d32eee568f 100644 --- a/addons/point_of_sale/wizard/pos_close_statement.py +++ b/addons/point_of_sale/wizard/pos_close_statement.py @@ -53,7 +53,7 @@ class pos_close_statement(osv.osv_memory): raise osv.except_osv(_('Message'), _('Journals are already closed')) else: list_statement.append(ids[0]) - if journal.check_dtls: + if not journal.check_dtls: statement_obj.button_confirm_cash(cr, uid, ids, context) # if not list_statement: # return {}