chore: correct indentation
This commit is contained in:
parent
694ae81618
commit
010060d92e
@ -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]
|
||||
|
@ -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 = []
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user