From 8bac5b6e73ed9e46342e8b4d22287348f66f3c64 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 3 Jan 2019 16:20:35 +0530 Subject: [PATCH] [minor] Employee is reqd to preview salary slip from salary structure --- erpnext/hr/doctype/salary_structure/salary_structure.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js index 033938de36..79d75bfdf6 100755 --- a/erpnext/hr/doctype/salary_structure/salary_structure.js +++ b/erpnext/hr/doctype/salary_structure/salary_structure.js @@ -124,6 +124,7 @@ frappe.ui.form.on('Salary Structure', { "label":__("Employee"), "fieldname":"employee", "fieldtype":"Select", + "reqd": true, options: employees }, { fieldname:"fetch",