diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 79d85c20a0b..e3680549cc0 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -551,6 +551,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe item_code(doc, cdt, cdn) { var me = this; + frappe.flags.dialog_set = false; + var item = frappe.get_doc(cdt, cdn); var update_stock = 0, show_batch_dialog = 0;