commit | 654c36ea99fa2de9e537c4000cfcb3b55a105d59 | [log] [tgz] |
---|---|---|
author | Kanchan Chauhan <angel143.dr@gmail.com> | Thu Oct 08 16:37:05 2020 +0530 |
committer | Kanchan Chauhan <angel143.dr@gmail.com> | Fri Oct 09 22:05:03 2020 +0530 |
tree | 8e31c1901cad93b3ea62f9641851cdb61b6a30cc | |
parent | 242bae4a81984e5be98c4c6e94ec0e47fe65f5fe [diff] [blame] |
feat: Supplier Sourced Items in BOM
diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index ac567b7..e05c70e 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py
@@ -847,6 +847,7 @@ where t2.parent = t1.name and t1.item = %s and t1.docstatus = 1 and t1.is_active = 1 and t1.name = %s + and t2.sourced_by_supplier = 0 and t2.item_code = t3.name""".format(doctype), (item_code, bom), as_dict=1)