Merge pull request #13139 from rohitwaghchaure/sales_invoice_email_propmt_issue

[Fix] Sales invoice email prompt not working
This commit is contained in:
rohitwaghchaure 2018-03-01 13:07:31 +05:30 committed by GitHub
commit 4badb45ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
on_submit: function(doc, dt, dn) {
var me = this;
if (frappe.get_route()[0] != 'Sales Invoice') {
if (frappe.get_route()[0] != 'Form') {
return
}