[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
This commit is contained in:
Cedric Snauwaert
2015-12-10 11:54:06 +01:00
parent 055f47ef41
commit 088db58967
@@ -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);
},