mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
started fresh install and added country_info
This commit is contained in:
@@ -53,9 +53,9 @@ erpnext.utils.lead_query = function() {
|
||||
// searches for customer
|
||||
erpnext.utils.customer_query = function() {
|
||||
if(sys_defaults.cust_master_name == "Customer Name") {
|
||||
var fields = ["name", "customer_group", "country", "territory"];
|
||||
var fields = ["name", "customer_group", "territory"];
|
||||
} else {
|
||||
var fields = ["name", "customer_name", "customer_group", "country", "territory"];
|
||||
var fields = ["name", "customer_name", "customer_group", "territory"];
|
||||
}
|
||||
|
||||
return "select " + fields.join(", ") + " from `tabCustomer` where docstatus < 2 and \
|
||||
|
||||
Reference in New Issue
Block a user