From 79e035a3a223ebf3dcf801bd58fbb562878b247e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 9 Aug 2012 13:23:34 +0200 Subject: [PATCH] [REM] point of sale: removed references to check_dtls, unexistent field. bzr revid: tde@openerp.com-20120809112334-i35nbq54zhkqo1dc --- addons/point_of_sale/account_statement_demo.xml | 1 - addons/point_of_sale/wizard/pos_close_statement.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/addons/point_of_sale/account_statement_demo.xml b/addons/point_of_sale/account_statement_demo.xml index e8ee0a7c349..982e0480aeb 100644 --- a/addons/point_of_sale/account_statement_demo.xml +++ b/addons/point_of_sale/account_statement_demo.xml @@ -12,7 +12,6 @@ - diff --git a/addons/point_of_sale/wizard/pos_close_statement.py b/addons/point_of_sale/wizard/pos_close_statement.py index 336d9d51283..b5850e722d5 100644 --- a/addons/point_of_sale/wizard/pos_close_statement.py +++ b/addons/point_of_sale/wizard/pos_close_statement.py @@ -52,8 +52,6 @@ class pos_close_statement(osv.osv_memory): statement_obj.write(cr, uid, [statement.id], { 'balance_end_real': statement.balance_end }, context=context) - if not statement.journal_id.check_dtls: - statement_obj.button_confirm_cash(cr, uid, [statement.id], context=context) tree_res = mod_obj.get_object_reference(cr, uid, 'point_of_sale', 'view_cash_statement_pos_tree') tree_id = tree_res and tree_res[1] or False