chore: correct indentation

This commit is contained in:
Ankush Menat 2021-09-01 14:49:47 +05:30
parent 694ae81618
commit 010060d92e
No known key found for this signature in database
GPG Key ID: 8EA82E09BBD13AAF
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ from frappe import _
from frappe.utils.data import comma_and from frappe.utils.data import comma_and
def execute(filters=None): def execute(filters=None):
# if not filters: filters = {} # if not filters: filters = {}
columns = get_columns() columns = get_columns()
summ_data = [] summ_data = []

View File

@ -127,7 +127,7 @@ def get_price(item_code, price_list, customer_group, company, qty=1):
return price_obj return price_obj
def get_non_stock_item_status(item_code, item_warehouse_field): def get_non_stock_item_status(item_code, item_warehouse_field):
#if item belongs to product bundle, check if bundle items are in stock #if item belongs to product bundle, check if bundle items are in stock
if frappe.db.exists("Product Bundle", item_code): if frappe.db.exists("Product Bundle", item_code):
items = frappe.get_doc("Product Bundle", item_code).get_all_children() items = frappe.get_doc("Product Bundle", item_code).get_all_children()
bundle_warehouse = frappe.db.get_value('Item', item_code, item_warehouse_field) bundle_warehouse = frappe.db.get_value('Item', item_code, item_warehouse_field)