[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.
This commit is contained in:
Christophe Matthieu
2017-10-19 13:52:56 +02:00
parent d8f03e64fd
commit ed79071293
@@ -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++;