commit | 7d264696f3da3d2345588fa391aece975ec82b09 | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Mon Jan 08 13:07:42 2024 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Mon Jan 08 13:07:42 2024 +0530 |
tree | c2de7fe35a72b9142dac6196840d90e28f9d1f21 | |
parent | b96c063c93532b8910b910b04750b3de367954cc [diff] |
fix: account currency from existing company coa
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py index 9f56455..05ff2a1 100644 --- a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py +++ b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
@@ -231,6 +231,8 @@ 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