Pass frm to open_mapped_doc

This commit is contained in:
Anand Doshi
2014-05-14 17:38:19 +05:30
parent 7b1698dbae
commit 54b7962eb9
17 changed files with 31 additions and 29 deletions

View File

@@ -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
});
}
});