fix: Return fieldtype so that the client-side can format chart values (#18221)

This commit is contained in:
Suraj Shetty
2019-07-10 17:16:48 +05:30
committed by Nabin Hait
parent 7ee97b6128
commit 68d7d6e223

View File

@@ -93,4 +93,6 @@ def get_chart_data(filters, columns, income, expense, net_profit_loss):
else:
chart["type"] = "line"
chart["fieldtype"] = "Currency"
return chart