Merge pull request #12590 from shreyashah115/total-on-items-remove

[Fix] Calculate taxes when shipping rule not present at removal of item
This commit is contained in:
rohitwaghchaure 2018-01-22 15:03:11 +05:30 committed by GitHub
commit 8e998875a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -648,6 +648,9 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}
}).fail(() => this.frm.set_value('shipping_rule', ''));
}
else {
me.calculate_taxes_and_totals();
}
},
set_actual_charges_based_on_currency: function() {