test: fix Employee and Activation test

This commit is contained in:
Rucha Mahabal 2022-07-01 10:34:32 +05:30
parent 3051f6e7f2
commit 7442a886a6
2 changed files with 2 additions and 4 deletions

View File

@ -7,6 +7,7 @@ import frappe
import frappe.utils
import erpnext
from erpnext.setup.doctype.employee.employee import InactiveEmployeeStatusError
test_records = frappe.get_test_records("Employee")

View File

@ -22,7 +22,6 @@ def get_level():
"Item": 5,
"Journal Entry": 3,
"Lead": 3,
"Leave Application": 5,
"Material Request": 5,
"Opportunity": 5,
"Payment Entry": 2,
@ -31,8 +30,6 @@ def get_level():
"Purchase Invoice": 5,
"Purchase Receipt": 5,
"Quotation": 3,
"Salary Slip": 5,
"Salary Structure": 5,
"Sales Order": 2,
"Sales Invoice": 2,
"Stock Entry": 3,
@ -137,7 +134,7 @@ def get_help_messages():
frappe._dict(
doctype="Employee",
title=_("Create Employee Records"),
description=_("Create Employee records to manage leaves, expense claims and payroll"),
description=_("Create Employee records."),
action=_("Create Employee"),
route="List/Employee",
target=3,