[FIX] point_of_sale: fixed errors that avoid closing a pos session + [IMP] account...
[odoo/odoo.git] / addons / account / static / src / js / account_widgets.js
index 3b04058..c9bdaac 100644 (file)
@@ -139,7 +139,7 @@ openerp.account = function (instance) {
             }
     
             // Retreive statement infos and reconciliation data from the model
-            var lines_filter = [['journal_entry_id', '=', false]];
+            var lines_filter = [['journal_entry_id', '=', false], ['account_id', '=', false]];
             var deferred_promises = [];
     
             if (self.statement_id) {