Merge pull request #16101 from SaiFi0102/patch-1
Company rename abbr to consider more DocTypes
This commit is contained in:
commit
be65af5dfe
@ -363,7 +363,8 @@ def replace_abbr(company, old, new):
|
||||
for d in doc:
|
||||
_rename_record(d)
|
||||
|
||||
for dt in ["Warehouse", "Account", "Cost Center"]:
|
||||
for dt in ["Warehouse", "Account", "Cost Center", "Department", "Location",
|
||||
"Sales Taxes and Charges Template", "Purchase Taxes and Charges Template"]:
|
||||
_rename_records(dt)
|
||||
frappe.db.commit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user