Merge pull request #33174 from s-aga-r/fix/github-issue/33102

fix: add company filter in RFQ Items
This commit is contained in:
Deepesh Garg 2022-11-30 10:36:18 +05:30 committed by GitHub
commit 12637cda84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {