mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
chore: Remove cur_frm from sales_invoice.js
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
// License: GNU General Public License v3. See license.txt
|
||||
frappe.provide("erpnext.crm");
|
||||
|
||||
cur_frm.email_field = "contact_email";
|
||||
|
||||
erpnext.pre_sales.set_as_lost("Quotation");
|
||||
erpnext.sales_common.setup_selling_controller();
|
||||
|
||||
@@ -22,6 +19,8 @@ frappe.ui.form.on("Opportunity", {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
frm.email_field = "contact_email";
|
||||
},
|
||||
|
||||
validate: function(frm) {
|
||||
|
||||
Reference in New Issue
Block a user