fix: doc not found after renaming doc
This commit is contained in:
parent
16d87aa786
commit
268cbbf8d9
1 changed files with 1 additions and 0 deletions
|
|
@ -621,6 +621,7 @@ $.extend(frappe.model, {
|
|||
r.message || args.new_name]);
|
||||
if(locals[doctype] && locals[doctype][docname])
|
||||
delete locals[doctype][docname];
|
||||
this.frm.reload_doc();
|
||||
d.hide();
|
||||
if(callback)
|
||||
callback(r.message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue