started fresh install and added country_info

This commit is contained in:
Rushabh Mehta
2013-01-17 18:22:22 +05:30
parent 6f9915cd17
commit db7139a649
23 changed files with 476 additions and 1702 deletions

View File

@@ -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 \