Merge branch 'develop' into fix/stock-entry/supplied-item-reference

This commit is contained in:
Sagar Sharma 2022-09-18 11:37:38 +05:30 committed by GitHub
commit b747d9d05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,6 +152,7 @@ function open_form(frm, doctype, child_doctype, parentfield) {
new_child_doc.parentfield = parentfield;
new_child_doc.parenttype = doctype;
new_doc[parentfield] = [new_child_doc];
new_doc.project = frm.doc.name;
frappe.ui.form.make_quick_entry(doctype, null, null, new_doc);
});