diff --git a/erpnext/config/manufacturing.py b/erpnext/config/manufacturing.py index 11711ad0049..086d61b847e 100644 --- a/erpnext/config/manufacturing.py +++ b/erpnext/config/manufacturing.py @@ -123,6 +123,12 @@ def get_data(): "is_query_report": True, "name": "BOM Search", "doctype": "BOM" + }, + { + "type": "report", + "is_query_report": True, + "name": "BOM Stock Report", + "doctype": "BOM" } ] }, diff --git a/erpnext/manufacturing/report/bom_stock_report/bom_stock_report.html b/erpnext/manufacturing/report/bom_stock_report/bom_stock_report.html new file mode 100644 index 00000000000..119a4fc6292 --- /dev/null +++ b/erpnext/manufacturing/report/bom_stock_report/bom_stock_report.html @@ -0,0 +1,27 @@ +

{%= __("BOM Stock Report") %}

+
{%= filters.bom %}
+
{%= filters.warehouse %}
+
+ + + + + + + + + + + + + {% for(var i=0, l=data.length; i + + + + + + + {% } %} + +
{%= __("Item") %}{%= __("Description") %}{%= __("Required Qty") %}{%= __("In Stock Qty") %}{%= __("Enough Parts to Build") %}
{%= data[i][ __("Item")] %}{%= data[i][ __("Description")] %} {%= data[i][ __("Required Qty")] %} {%= data[i][ __("In Stock Qty")] %} {%= data[i][ __("Enough Parts to Build")] %}
\ No newline at end of file