fix: account currency from existing company coa

This commit is contained in:
Gursheen Anand 2024-01-08 13:07:42 +05:30
parent b96c063c93
commit 7d264696f3

View File

@ -231,6 +231,8 @@ def build_account_tree(tree, parent, all_accounts):
tree[child.account_name]["account_type"] = child.account_type
if child.tax_rate:
tree[child.account_name]["tax_rate"] = child.tax_rate
if child.account_currency:
tree[child.account_name]["account_currency"] = child.account_currency
if not parent:
tree[child.account_name]["root_type"] = child.root_type