Browse Source

chore(rename_doc): Consistent error message for no change

version-14
gavin 3 years ago
committed by GitHub
parent
commit
501a1675ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/model/rename_doc.py

+ 1
- 1
frappe/model/rename_doc.py View File

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


Loading…
Cancel
Save