Merge pull request #16101 from SaiFi0102/patch-1

Company rename abbr to consider more DocTypes
This commit is contained in:
Nabin Hait
2018-11-27 11:36:46 +05:30
committed by GitHub

View File

@@ -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()