Merge pull request #17122 from frappe/asbasawaraj-remove-location-from-abbreviation-doctypes

fix: Removed Location from Abbreviation Update DocTypes
This commit is contained in:
Nabin Hait 2019-04-04 11:50:33 +05:30 committed by GitHub
commit 82bd388993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,7 @@ def replace_abbr(company, old, new):
for d in doc:
_rename_record(d)
for dt in ["Warehouse", "Account", "Cost Center", "Department", "Location",
for dt in ["Warehouse", "Account", "Cost Center", "Department",
"Sales Taxes and Charges Template", "Purchase Taxes and Charges Template"]:
_rename_records(dt)
frappe.db.commit()