Removed Location from Abbreviation Update DocTypes

This commit is contained in:
asbasawaraj 2019-04-03 17:05:53 +05:30 committed by GitHub
parent fb48686d82
commit d2b69445b1
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: for d in doc:
_rename_record(d) _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"]: "Sales Taxes and Charges Template", "Purchase Taxes and Charges Template"]:
_rename_records(dt) _rename_records(dt)
frappe.db.commit() frappe.db.commit()