[fix] Fetch company of employee in leave application

This commit is contained in:
Anand Doshi 2015-10-22 18:52:05 +05:30
parent d905204e49
commit 683f756d0f

View File

@ -2,6 +2,7 @@
// License: GNU General Public License v3. See license.txt
cur_frm.add_fetch('employee','employee_name','employee_name');
cur_frm.add_fetch('employee','company','company');
frappe.ui.form.on("Leave Application", {
onload: function(frm) {