mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
Pass frm to open_mapped_doc
This commit is contained in:
@@ -32,7 +32,7 @@ $.extend(cur_frm.cscript, {
|
||||
make_invoice: function() {
|
||||
frappe.model.open_mapped_doc({
|
||||
method: "erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice",
|
||||
source_name: cur_frm.doc.name
|
||||
frm: cur_frm
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user