Merge pull request #32256 from frappe/mergify/bp/version-13-hotfix/pr-32244
fix: Parent Level project linkning on creating PO from project (backport #32244)
This commit is contained in:
@@ -134,6 +134,7 @@ function open_form(frm, doctype, child_doctype, parentfield) {
|
|||||||
new_child_doc.parentfield = parentfield;
|
new_child_doc.parentfield = parentfield;
|
||||||
new_child_doc.parenttype = doctype;
|
new_child_doc.parenttype = doctype;
|
||||||
new_doc[parentfield] = [new_child_doc];
|
new_doc[parentfield] = [new_child_doc];
|
||||||
|
new_doc.project = frm.doc.name;
|
||||||
|
|
||||||
frappe.ui.form.make_quick_entry(doctype, null, null, new_doc);
|
frappe.ui.form.make_quick_entry(doctype, null, null, new_doc);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user