fix(account): update account number from parent company

(cherry picked from commit 4a4894bc01)
This commit is contained in:
venkat102
2025-03-06 18:33:53 +05:30
committed by Mergify
parent 9a1321ab02
commit 1f54c272ac

View File

@@ -421,7 +421,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")