mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
fix(buying): add supplier group link filters in field level
(cherry picked from commit cfdc554a19)
# Conflicts:
# erpnext/buying/doctype/supplier/supplier.json
This commit is contained in:
@@ -139,14 +139,6 @@ frappe.ui.form.on("Supplier", {
|
||||
// indicators
|
||||
erpnext.utils.set_party_dashboard_indicators(frm);
|
||||
}
|
||||
|
||||
frm.set_query("supplier_group", () => {
|
||||
return {
|
||||
filters: {
|
||||
is_group: 0,
|
||||
},
|
||||
};
|
||||
});
|
||||
},
|
||||
get_supplier_group_details: function (frm) {
|
||||
frappe.call({
|
||||
|
||||
@@ -165,6 +165,7 @@
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Supplier Group",
|
||||
"link_filters": "[[\"Supplier Group\",\"is_group\",\"=\",0]]",
|
||||
"oldfieldname": "supplier_type",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Supplier Group"
|
||||
@@ -485,7 +486,11 @@
|
||||
"link_fieldname": "party"
|
||||
}
|
||||
],
|
||||
<<<<<<< HEAD
|
||||
"modified": "2024-05-08 18:02:57.342931",
|
||||
=======
|
||||
"modified": "2026-02-06 12:58:01.398824",
|
||||
>>>>>>> cfdc554a19 (fix(buying): add supplier group link filters in field level)
|
||||
"modified_by": "Administrator",
|
||||
"module": "Buying",
|
||||
"name": "Supplier",
|
||||
|
||||
Reference in New Issue
Block a user