fix to reload:
This commit is contained in:
parent
e660fde74e
commit
688cae562d
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ def update_attachments(doctype, old, new):
|
|||
raise
|
||||
|
||||
def rename_versions(doctype, old, new):
|
||||
frappe.conn.sql("""update tabVersion set docname=%s where doctype=%s and docname=%s""",
|
||||
frappe.conn.sql("""update tabVersion set docname=%s where ref_doctype=%s and docname=%s""",
|
||||
(new, doctype, old))
|
||||
|
||||
def rename_parent_and_child(doctype, old, new, doclist):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue