fix: apply price list after batch or serial no insertion (#27566) (#27683)

(cherry picked from commit 72c081fd8f)

Co-authored-by: Alan <2.alan.tom@gmail.com>
This commit is contained in:
Frappe PR Bot
2021-09-28 12:59:45 +05:30
committed by GitHub
parent 745abef0e7
commit fbae3c7fd6

View File

@@ -617,6 +617,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
me.frm.script_manager.trigger('qty', item.doctype, item.name);
if (!me.frm.doc.set_warehouse)
me.frm.script_manager.trigger('warehouse', item.doctype, item.name);
me.apply_price_list(item, true);
}, undefined, !frappe.flags.hide_serial_batch_dialog);
}
},