Co-authored-by: Richard Case <64409021+casesolved-co-uk@users.noreply.github.com> Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
parent
4d9b8f86f6
commit
1133f40dd2
1 changed files with 1 additions and 3 deletions
|
|
@ -362,9 +362,7 @@ $.extend(frappe.model, {
|
|||
);
|
||||
} else if (!opts.source_name && opts.frm) {
|
||||
opts.source_name = opts.frm.doc.name;
|
||||
|
||||
// Allow opening a mapped doc without a source document name
|
||||
} else if (!opts.frm) {
|
||||
} else if (!opts.frm && !opts.source_name) {
|
||||
opts.source_name = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue