fix: add company filter in RFQ Items
This commit is contained in:
parent
2e2590b224
commit
ca0485a503
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user