Browse Source

fix: parameters un get function for accounts dashboard (#20847)

develop
Prssanna Desai 5 years ago
committed by GitHub
parent
commit
4fd61c3f83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py

3
erpnext/accounts/dashboard_chart_source/account_balance_timeline/account_balance_timeline.py

@ -13,7 +13,8 @@ from frappe.utils.nestedset import get_descendants_of
@frappe.whitelist() @frappe.whitelist()
@cache_source @cache_source
def get(chart_name = None, chart = None, no_cache = None, from_date = None, to_date = None): def get(chart_name = None, chart = None, no_cache = None, filters = None, from_date = None,
to_date = None, timespan = None, time_interval = None):
if chart_name: if chart_name:
chart = frappe.get_doc('Dashboard Chart', chart_name) chart = frappe.get_doc('Dashboard Chart', chart_name)
else: else:

Loading…
Cancel
Save