fix: Conditionally set parent field only on DocType rename
fix: Conditionally set parent field only on DocType rename

(cherry picked from commit 59d35cb5aeadd161701c1b5651cf0aad21facc7e)

vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe