mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
Update chart_of_accounts.py
This commit is contained in:
@@ -165,7 +165,7 @@ def build_account_tree(tree, parent, all_accounts):
|
|||||||
tree[child.account_name] = {}
|
tree[child.account_name] = {}
|
||||||
|
|
||||||
# assign account_type and root_type
|
# assign account_type and root_type
|
||||||
if child.account_type:
|
if child.account_number:
|
||||||
tree[child.account_name]["account_number"] = child.account_number
|
tree[child.account_name]["account_number"] = child.account_number
|
||||||
if child.account_type:
|
if child.account_type:
|
||||||
tree[child.account_name]["account_type"] = child.account_type
|
tree[child.account_name]["account_type"] = child.account_type
|
||||||
|
|||||||
Reference in New Issue
Block a user