diff --git a/frappe/utils/nestedset.py b/frappe/utils/nestedset.py index e43e5e3c9b..bb211bc5ae 100644 --- a/frappe/utils/nestedset.py +++ b/frappe/utils/nestedset.py @@ -317,8 +317,8 @@ class NestedSet(Document): # set old_parent for children frappe.db.set_value( self.doctype, - {"old_parent": newdn}, {parent_field: newdn}, + {"old_parent": newdn}, update_modified=False, )