Merge pull request #36895 from blaggacao/fix-coa-dill-down-on-startup

fix(startup): coa drill down
This commit is contained in:
Deepesh Garg 2023-09-02 17:12:18 +05:30 committed by GitHub
commit 2e7548462d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1164,7 +1164,7 @@ def parse_naming_series_variable(doc, variable):
@frappe.whitelist()
def get_coa(doctype, parent, is_root, chart=None):
def get_coa(doctype, parent, is_root=None, chart=None):
from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import (
build_tree_from_json,
)