removed white spaces

This commit is contained in:
Makarand Bauskar 2017-06-23 17:58:50 +05:30 committed by GitHub
parent 9961fb82d6
commit 5e994ddf65

View File

@ -5,14 +5,12 @@ from __future__ import unicode_literals
import frappe
from frappe import _
def execute(filters=None):
if not filters: filters = {}
columns = get_columns()
data = get_bom_stock(filters)
return columns, data
def get_columns():
"""return columns"""
columns = [
@ -25,7 +23,6 @@ def get_columns():
return columns
def get_bom_stock(filters):
conditions = ""
bom = filters.get("bom")
@ -57,5 +54,4 @@ def get_bom_stock(filters):
WHERE
bom_item.parent = '%s'
GROUP BY bom_item.item_code""" %
(conditions, bom))
GROUP BY bom_item.item_code""" % (conditions, bom))