From 088db5896791d8bac74717a6be8d67d4531e05ab Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Thu, 10 Dec 2015 11:52:24 +0100 Subject: [PATCH] [FIX] account: when trying to reconcile an entry, if label is empty, by default it should be the name of the line It was the case in Saas-6 and prevent many mistakes --- addons/account/static/src/js/account_reconciliation_widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/static/src/js/account_reconciliation_widgets.js b/addons/account/static/src/js/account_reconciliation_widgets.js index 94ea596218f..bb815c653e0 100644 --- a/addons/account/static/src/js/account_reconciliation_widgets.js +++ b/addons/account/static/src/js/account_reconciliation_widgets.js @@ -1767,8 +1767,8 @@ var bankStatementReconciliationLine = abstractReconciliationLine.extend({ /** Creating */ initializeCreateForm: function() { - this.label_field.set("value", this.st_line.name); this._super(); + this.label_field.set("value", this.st_line.name); },