commit | 12637cda84820f1ae458956c9ca9f98a756b7bd9 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Nov 30 10:36:18 2022 +0530 |
committer | GitHub <noreply@github.com> | Wed Nov 30 10:36:18 2022 +0530 |
tree | 503ffb4b1f4c161e305f30d2f7b83f3711beb357 | |
parent | 2e2590b2244923da09925a5a8916c958ea028b51 [diff] | |
parent | ca0485a503aacb7d96700a060bd2367a9d03366a [diff] |
Merge pull request #33174 from s-aga-r/fix/github-issue/33102 fix: add company filter in RFQ Items
diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js index 31a4837..98c7dc9 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js
@@ -22,6 +22,13 @@ } }; } + + frm.set_query('warehouse', 'items', () => ({ + filters: { + company: frm.doc.company, + is_group: 0 + } + })); }, onload: function(frm) {