refactor(dashboard): Move dashboard.py to account_balance_timeline.py
This commit is contained in:
parent
d85b0ae602
commit
09f2ed2e69
0
erpnext/accounts/dashboard_chart_source/__init__.py
Normal file
0
erpnext/accounts/dashboard_chart_source/__init__.py
Normal file
@ -4,12 +4,14 @@
|
||||
from __future__ import unicode_literals
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
import json
|
||||
import frappe
|
||||
from frappe.utils import add_to_date, date_diff, getdate, nowdate
|
||||
from erpnext.accounts.report.general_ledger.general_ledger import execute
|
||||
|
||||
|
||||
def get(filters= None):
|
||||
@frappe.whitelist()
|
||||
def get(filters=None):
|
||||
filters = json.loads(filters)
|
||||
timespan = filters.get("timespan")
|
||||
timegrain = filters.get("timegrain")
|
||||
account = filters.get("account")
|
Loading…
x
Reference in New Issue
Block a user