Merge pull request #46439 from frappe/mergify/bp/version-15-hotfix/pr-46372

fix(account): update account number from parent company (backport #46372)
This commit is contained in:
ruthra kumar
2025-03-11 11:19:33 +05:30
committed by GitHub

View File

@@ -502,7 +502,7 @@ def update_account_number(name, account_name, account_number=None, from_descenda
"name",
)
if old_name:
if old_name and not from_descendant:
# same account in parent company exists
allow_child_account_creation = _("Allow Account Creation Against Child Company")