fix: Return promise while reloading doc (#13219)
This commit is contained in:
parent
5b3acf7fe8
commit
e73efaec04
1 changed files with 1 additions and 1 deletions
|
|
@ -1069,7 +1069,7 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
|
||||
if(!this.doc.__islocal) {
|
||||
frappe.model.remove_from_locals(this.doctype, this.docname);
|
||||
frappe.model.with_doc(this.doctype, this.docname, () => {
|
||||
return frappe.model.with_doc(this.doctype, this.docname, () => {
|
||||
this.refresh();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue