[Fix] Code cleanup (#14843)

This commit is contained in:
rohitwaghchaure 2018-07-09 09:29:40 +05:30 committed by Nabin Hait
parent 6be8bea934
commit 8179bcbabd

View File

@ -9,7 +9,7 @@ from frappe.utils import flt,cstr
from erpnext.accounts.report.financial_statements import get_period_list
def execute(filters=None):
columns, data = [], []
columns, data, chart = [], [], []
if filters.get('fiscal_year'):
company = erpnext.get_default_company()
period_list = get_period_list(filters.get('fiscal_year'), filters.get('fiscal_year'),"Monthly", company)