Update transaction.js (#22788)

Added frappe.flags.hide_serial_batch_dialog = true that was missing in version-12
This commit is contained in:
aakvatech
2020-07-23 09:44:36 +03:00
committed by GitHub
parent fd30b8f422
commit 3adeab45ce

View File

@@ -3,6 +3,7 @@
erpnext.TransactionController = erpnext.taxes_and_totals.extend({
setup: function() {
frappe.flags.hide_serial_batch_dialog = true
this._super();
frappe.ui.form.on(this.frm.doctype + " Item", "rate", function(frm, cdt, cdn) {
var item = frappe.get_doc(cdt, cdn);