Merge pull request #33175 from frappe/mergify/bp/version-14-hotfix/pr-33174

fix: add company filter in RFQ Items (backport #33174)
This commit is contained in:
Sagar Sharma
2022-11-30 12:25:57 +05:30
committed by GitHub

View File

@@ -22,6 +22,13 @@ frappe.ui.form.on("Request for Quotation",{
}
};
}
frm.set_query('warehouse', 'items', () => ({
filters: {
company: frm.doc.company,
is_group: 0
}
}));
},
onload: function(frm) {