commit | 855d843e55d23cee0f5cc3a5fdad6944dda4f99a | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Mar 01 13:06:01 2018 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Mar 01 13:06:01 2018 +0530 |
tree | 37c619a00e148d35ae0fef3080860c3e7eb30439 | |
parent | 0df95fa78121066f83eeb8a53f3321c2d61ce512 [diff] |
[Fix] Sales invoice email prompt not working
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 93c2206..bb2d071 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
@@ -106,7 +106,7 @@ on_submit: function(doc, dt, dn) { var me = this; - if (frappe.get_route()[0] != 'Sales Invoice') { + if (frappe.get_route()[0] != 'Form') { return }