From ed79071293d327e0ef3f5f0a0015fbb250a12acb Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 17 Oct 2017 10:17:17 +0200 Subject: [PATCH] [FIX] account: reconciliation: reset filter when validating a line issue: in the 'match' part of a reconciliation line, if the user uses the search without any line as result and validate the selected proposition, the line is removed but the account or partner reconciliation is maybe not finished. --- .../static/src/js/reconciliation/reconciliation_model.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/static/src/js/reconciliation/reconciliation_model.js b/addons/account/static/src/js/reconciliation/reconciliation_model.js index fd2850cfcb8..62f2e107e75 100644 --- a/addons/account/static/src/js/reconciliation/reconciliation_model.js +++ b/addons/account/static/src/js/reconciliation/reconciliation_model.js @@ -1202,6 +1202,8 @@ var ManualModel = StatementModel.extend({ if (line.reconciled) { return; } + line.filter = ""; + line.offset = 0; defs.push(self._performMoveLine(handle).then(function () { if(!line.mv_lines.length) { self.valuenow++;