Browse Source
chore(rename_doc): Consistent error message for no change
version-14
gavin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
frappe/model/rename_doc.py
|
|
@@ -85,7 +85,7 @@ def rename_doc( |
|
|
|
return |
|
|
|
|
|
|
|
if old==new: |
|
|
|
frappe.errprint(_("Failed: {0} to {1} no changes made.").format(old, new)) |
|
|
|
frappe.errprint(_("Ignored: {0} to {1} no changes made because old and new name are the same.").format(old, new)) |
|
|
|
return |
|
|
|
|
|
|
|
force = cint(force) |
|
|
|