mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 14:02:10 +00:00
fix(account): update account number from parent company
(cherry picked from commit 4a4894bc01)
This commit is contained in:
@@ -502,7 +502,7 @@ def update_account_number(name, account_name, account_number=None, from_descenda
|
|||||||
"name",
|
"name",
|
||||||
)
|
)
|
||||||
|
|
||||||
if old_name:
|
if old_name and not from_descendant:
|
||||||
# same account in parent company exists
|
# same account in parent company exists
|
||||||
allow_child_account_creation = _("Allow Account Creation Against Child Company")
|
allow_child_account_creation = _("Allow Account Creation Against Child Company")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user