mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
raise holiday block list exception only when submitting
This commit is contained in:
@@ -7,7 +7,7 @@ test_records = [[{
|
||||
"gender": "Female",
|
||||
"status": "Active",
|
||||
"company": "_Test Company",
|
||||
"user_id": "test@erpnext.com"
|
||||
"user_id": "test@example.com"
|
||||
}],
|
||||
[{
|
||||
"doctype":"Employee",
|
||||
@@ -18,5 +18,17 @@ test_records = [[{
|
||||
"gender": "Male",
|
||||
"status": "Active",
|
||||
"company": "_Test Company",
|
||||
"user_id": "test1@erpnext.com"
|
||||
}]]
|
||||
"user_id": "test1@example.com"
|
||||
}],
|
||||
[{
|
||||
"doctype":"Employee",
|
||||
"employee_name": "_Test Employee 2",
|
||||
"naming_series": "_T-Employee-",
|
||||
"date_of_joining": "2010-01-01",
|
||||
"date_of_birth": "1980-01-01",
|
||||
"gender": "Male",
|
||||
"status": "Active",
|
||||
"company": "_Test Company",
|
||||
"user_id": "test2@example.com"
|
||||
}]
|
||||
]
|
||||
Reference in New Issue
Block a user