fix: add company filter in RFQ Items

(cherry picked from commit ca0485a503)
This commit is contained in:
s-aga-r
2022-01-12 10:03:36 +05:30
committed by Mergify
parent 6878536a57
commit 7c1595e2c2

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) { onload: function(frm) {