Merge pull request #15399 from Zlash65/mfix
[Minor] Fix Cash Flow report
This commit is contained in:
commit
ae0168f1ba
@ -21,9 +21,9 @@ def execute(filters=None):
|
||||
cash_flow_accounts = get_cash_flow_accounts()
|
||||
|
||||
# compute net profit / loss
|
||||
income = get_data(filters.company, "Income", "Credit", period_list,
|
||||
income = get_data(filters.company, "Income", "Credit", period_list, filters=filters,
|
||||
accumulated_values=filters.accumulated_values, ignore_closing_entries=True, ignore_accumulated_values_for_fy= True)
|
||||
expense = get_data(filters.company, "Expense", "Debit", period_list,
|
||||
expense = get_data(filters.company, "Expense", "Debit", period_list, filters=filters,
|
||||
accumulated_values=filters.accumulated_values, ignore_closing_entries=True, ignore_accumulated_values_for_fy= True)
|
||||
|
||||
net_profit_loss = get_net_profit_loss(income, expense, period_list, filters.company)
|
||||
|
Loading…
x
Reference in New Issue
Block a user