perf: timeout error (#43154)

This commit is contained in:
rohitwaghchaure
2024-09-10 18:41:46 +05:30
committed by GitHub
parent 05f9015c0b
commit 1bf60248d9
2 changed files with 29 additions and 5 deletions

View File

@@ -1889,6 +1889,10 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
const fields = ["discount_percentage",
"discount_amount", "margin_rate_or_amount", "rate_with_margin"];
if (!item) {
return;
}
if(item.remove_free_item) {
let items = [];