fix: Generate hash of length 8 for save point
This commit is contained in:
parent
892e05fdc1
commit
6cdd33f26b
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ def validate_rename(
|
|||
) -> str:
|
||||
# using for update so that it gets locked and someone else cannot edit it while this rename is going on!
|
||||
if save_point:
|
||||
_SAVE_POINT = f"validate_rename_{frappe.generate_hash(8)}"
|
||||
_SAVE_POINT = f"validate_rename_{frappe.generate_hash(length=8)}"
|
||||
frappe.db.savepoint(_SAVE_POINT)
|
||||
|
||||
exists = (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue