[fix] is_root check
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py
index e5809fe..0e35768 100644
--- a/erpnext/accounts/utils.py
+++ b/erpnext/accounts/utils.py
@@ -252,7 +252,7 @@
 	if not ac.parent_account:
 		ac.parent_account = args.get("parent")
 
-	if ac.is_root:
+	if getattr(ac, 'is_root', None):
 		ac.parent_account=''
 
 	ac.old_parent = ""