mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
fix: indent
This commit is contained in:
@@ -14,9 +14,9 @@ def execute(filters=None):
|
||||
def get_data(filters, data):
|
||||
get_exploded_items(filters.bom, data)
|
||||
|
||||
def get_exploded_items(bom, data, indent=1):
|
||||
exploded_items = frappe.get_all("BOM Item",
|
||||
filters={"parent": bom},
|
||||
def get_exploded_items(bom, data, indent=0):
|
||||
exploded_items = frappe.get_all("BOM Item",
|
||||
filters={"parent": bom},
|
||||
fields= ['qty','bom_no','qty','scrap','item_code','item_name','description','uom'])
|
||||
|
||||
for item in exploded_items:
|
||||
|
||||
Reference in New Issue
Block a user