brotherton-erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.py
2011-07-01 13:34:41 +05:30

7 lines
205 B
Python

total = 0.0
monthlist = ['','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
for r in res:
r[0] = monthlist[r[0]]
total += r[1]
colwidths[col_idx['Total Despatched']] = '200px'