From 6060cc4896d434a037b42be8e61643ab75d2550f Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 26 Sep 2013 17:59:05 +0530 Subject: [PATCH] [fix] [minor] fetch project on selection of task in time log --- projects/doctype/time_log/time_log.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/doctype/time_log/time_log.js b/projects/doctype/time_log/time_log.js index 7a03955e2a..ab21a3151d 100644 --- a/projects/doctype/time_log/time_log.js +++ b/projects/doctype/time_log/time_log.js @@ -9,4 +9,6 @@ erpnext.projects.TimeLog = wn.ui.form.Controller.extend({ } }); -cur_frm.cscript = new erpnext.projects.TimeLog({frm: cur_frm}); \ No newline at end of file +cur_frm.cscript = new erpnext.projects.TimeLog({frm: cur_frm}); + +cur_frm.add_fetch('task','project','project'); \ No newline at end of file