[fix] accounts heatmaps now covering 366 days not 20
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py
index eb705cd..471da9e 100644
--- a/erpnext/accounts/party.py
+++ b/erpnext/accounts/party.py
@@ -350,6 +350,6 @@
from frappe.desk.form.load import get_communication_data
data = get_communication_data(doctype, name,
fields = 'unix_timestamp(date(creation)), count(name)',
- after = add_years(None, -1).strftime('%Y-%m-%d'),
+ after = add_years(None, -1).strftime('%Y-%m-%d'), limit = 366,
group_by='group by date(creation)', as_dict=False)
return dict(data)
\ No newline at end of file