commit | b0e9c06f934caa55dbc125cdc7417e44d7c880ca | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Sat May 02 15:07:52 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Sat May 02 18:46:29 2015 +0530 |
tree | b6dd5a167d79dfc38981707bddf2956185b63d12 | |
parent | ba4aec336686d377616bfeef01ddde2c1b41704f [diff] |
Stock Entry agianst Manufaturing: fetch only stock items from bom
diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index 14932d2..4c87dc7 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py
@@ -388,6 +388,7 @@ and bom_item.docstatus < 2 and bom_item.parent = %(bom)s and item.name = bom_item.item_code + and ifnull(item.is_stock_item, 'No') = 'Yes' {conditions} group by item_code, stock_uom"""