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:
Sudharsanan11
2026-02-06 13:12:04 +05:30
committed by Mergify
parent 32d5cedafc
commit 9886b46cb4
2 changed files with 5 additions and 8 deletions

View File

@@ -135,14 +135,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({

View File

@@ -167,6 +167,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"
@@ -500,7 +501,11 @@
"link_fieldname": "party"
}
],
<<<<<<< HEAD
"modified": "2026-01-16 15:56:31.139206",
=======
"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",