diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 9d620c2692..95e5a1c340 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -160,6 +160,9 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte me.set_dynamic_labels(); me.calculate_taxes_and_totals(); if(callback_fn) callback_fn(); + frappe.after_ajax(function() { + cur_frm.doc.__missing_values_set = false; + }) } } });