Skip to content

Commit

Permalink
fix: set fiscal year for Profit and Loss chart
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed May 28, 2020
1 parent 82de993 commit 4afda76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erpnext/accounts/dashboard_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def get_charts():
"report_name": "Profit and Loss Statement",
"filters_json": json.dumps({
"company": company.name,
"filter_based_on": "Date Range",
"period_start_date": get_date_str(fiscal_year[1]),
"period_end_date": get_date_str(fiscal_year[2]),
"filter_based_on": "Fiscal Year",
"from_fiscal_year": fiscal_year[0],
"to_fiscal_year": fiscal_year[0],
"periodicity": "Monthly",
"include_default_book_entries": 1
}),
Expand Down

0 comments on commit 4afda76

Please sign in to comment.