Set prefered contact email in Employee

This commit is contained in:
Nabin Hait
2016-10-19 17:43:51 +05:30
parent 0702fa2fc6
commit 97fa119b37
3 changed files with 22 additions and 0 deletions

View File

@@ -143,6 +143,8 @@ class TestSalarySlip(unittest.TestCase):
"department": frappe.get_all("Department", fields="name")[0].name,
"gender": "Female",
"company_email": user,
"prefered_contact_email": "Company Email",
"prefered_email": user,
"status": "Active",
"employment_type": "Intern"
}).insert()