fix: get_period_list API change fixes

This commit is contained in:
Deepesh Garg
2020-04-29 22:14:45 +05:30
parent cb8ea6643e
commit 9d5fabd7ac
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,8 @@ def execute(filters=None):
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)
period_list = get_period_list(filters.get('fiscal_year'), filters.get('fiscal_year'),
'', '', 'Fiscal Year', 'Monthly', company=company)
columns=get_columns()
data=get_log_data(filters)
chart=get_chart_data(data,period_list)