Merge pull request #1160 from webnotes/develop
[hotfix] fix null issue in budget variance
diff --git a/accounts/report/budget_variance_report/budget_variance_report.py b/accounts/report/budget_variance_report/budget_variance_report.py
index 2cbbd62..a5860c8 100644
--- a/accounts/report/budget_variance_report/budget_variance_report.py
+++ b/accounts/report/budget_variance_report/budget_variance_report.py
@@ -121,6 +121,6 @@
for ad in actual_details.get(ccd.name, {}).get(ccd.account, []):
if ad.month_name == month:
- tav_dict.actual += ad.debit - ad.credit
+ tav_dict.actual += flt(ad.debit) - flt(ad.credit)
- return cam_map
\ No newline at end of file
+ return cam_map