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

@ -65,7 +65,7 @@ def get_data(filters, leave_types):
for leave_type in leave_types:
remaining = 0
if leave_type in available_leave["leave_allocation"]:
# opening balance
# opening balance
remaining = available_leave["leave_allocation"][leave_type]['remaining_leaves']
row += [remaining]

View File

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

View File

@ -127,7 +127,7 @@ def get_price(item_code, price_list, customer_group, company, qty=1):
return price_obj
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):
items = frappe.get_doc("Product Bundle", item_code).get_all_children()
bundle_warehouse = frappe.db.get_value('Item', item_code, item_warehouse_field)