mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
supplier can now be searched using name
This commit is contained in:
@@ -669,3 +669,5 @@ cur_frm.cscript.project_name = function(doc, cdt, cdn) {
|
|||||||
refresh_field(cur_frm.cscript.fname);
|
refresh_field(cur_frm.cscript.fname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
@@ -145,3 +145,6 @@ cur_frm.fields_dict['ref_rate_details'].grid.onrowadd = function(doc, cdt, cdn){
|
|||||||
|
|
||||||
cur_frm.fields_dict.item_customer_details.grid.get_field("customer_name").get_query =
|
cur_frm.fields_dict.item_customer_details.grid.get_field("customer_name").get_query =
|
||||||
erpnext.utils.customer_query;
|
erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.item_supplier_details.grid.get_field("supplier").get_query =
|
||||||
|
erpnext.utils.supplier_query;
|
||||||
@@ -70,3 +70,5 @@ cur_frm.fields_dict['item_code'].get_query = function(doc,cdt,cdn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
@@ -232,3 +232,5 @@ cur_frm.cscript.validate_items = function(doc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
@@ -139,3 +139,5 @@ cur_frm.cscript.hide_dialog = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
@@ -42,3 +42,5 @@ cur_frm.cscript.hide_dialog = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
@@ -43,3 +43,5 @@ cur_frm.cscript.hide_dialog = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
cur_frm.fields_dict.customer.get_query = erpnext.utils.customer_query;
|
||||||
|
|
||||||
|
cur_frm.fields_dict.supplier.get_query = erpnext.utils.supplier_query;
|
||||||
Reference in New Issue
Block a user