[fix] [minor] recalculate on removing row
This commit is contained in:
parent
1e4fb689fc
commit
a91c95f0fe
@ -32,7 +32,11 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(this.other_fname) {
|
if(this.other_fname) {
|
||||||
this[this.fname + "_remove"] = this[this.other_fname + "_remove"] = this.calculate_taxes_and_totals;
|
this[this.other_fname + "_remove"] = this.calculate_taxes_and_totals;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.fname) {
|
||||||
|
this[this.fname + "_remove"] = this.calculate_taxes_and_totals;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user