removed white spaces
This commit is contained in:
parent
9961fb82d6
commit
5e994ddf65
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user