fix: Period list api changes for custom cash flow report

This commit is contained in:
Deepesh Garg 2020-07-18 19:47:33 +05:30
parent 49821df0ae
commit 07f8e749be

View File

@ -334,10 +334,9 @@ def compute_data(filters, company_currency, profit_data, period_list, light_mapp
def execute(filters=None): def execute(filters=None):
if not filters.periodicity: filters.periodicity = "Monthly" if not filters.periodicity: filters.periodicity = "Monthly"
period_list = get_period_list( period_list = get_period_list(filters.from_fiscal_year, filters.to_fiscal_year,
filters.from_fiscal_year, filters.to_fiscal_year, filters.periodicity, filters.period_start_date, filters.period_end_date, filters.filter_based_on,
filters.accumulated_values, filters.company filters.periodicity, company=filters.company)
)
mappers = get_mappers_from_db() mappers = get_mappers_from_db()