fix: add company filter in RFQ Items

This commit is contained in:
s-aga-r 2022-01-12 10:03:36 +05:30
parent 2e2590b224
commit ca0485a503

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