chore: formatting
This commit is contained in:
parent
e76c33cdbc
commit
46022ff257
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ from frappe.model.dynamic_links import get_dynamic_link_map
|
|||
from frappe.model.naming import validate_name
|
||||
from frappe.model.utils.user_settings import sync_user_settings, update_user_settings_data
|
||||
from frappe.query_builder import Field
|
||||
from frappe.utils.data import sbool, cint, cstr
|
||||
from frappe.utils.data import cint, cstr, sbool
|
||||
from frappe.utils.password import rename_password
|
||||
from frappe.utils.scheduler import is_scheduler_inactive
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ def rename_doc(
|
|||
merge = sbool(merge)
|
||||
meta = frappe.get_meta(doctype)
|
||||
|
||||
if meta.naming_rule == 'Autoincrement':
|
||||
if meta.naming_rule == "Autoincrement":
|
||||
old = cint(old)
|
||||
new = cint(new)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue