Skip to content

Commit

Permalink
fix: add company filter in RFQ Items
Browse files Browse the repository at this point in the history
(cherry picked from commit ca0485a)
  • Loading branch information
s-aga-r authored and mergify[bot] committed Nov 30, 2022
1 parent 6878536 commit 7c1595e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7c1595e

Please sign in to comment.