fix: Assignment fix
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py
index 6535e4d..abef2bd 100644
--- a/erpnext/accounts/utils.py
+++ b/erpnext/accounts/utils.py
@@ -122,7 +122,7 @@
 	allow_cost_center_in_entry_of_bs_account = get_allow_cost_center_in_entry_of_bs_account()
 
 	if acc:
-		report_type == acc.report_type
+		report_type = acc.report_type
 	else:
 		report_type = ""