[fix] [minor] all types of variance reports fixed

This commit is contained in:
Akhilesh Darjee
2013-11-13 16:45:11 +05:30
parent 49f2bafa0f
commit bfe264be8c
3 changed files with 29 additions and 18 deletions

View File

@@ -16,10 +16,7 @@ def execute(filters=None):
period_month_ranges = get_period_month_ranges(filters["period"], filters["fiscal_year"])
cam_map = get_costcenter_account_month_map(filters)
precision = webnotes.conn.get_value("Global Defaults", None, "float_precision") or 2
data = []
for cost_center, cost_center_items in cam_map.items():
for account, monthwise_data in cost_center_items.items():
row = [cost_center, account]