fix: Correct filters (#22022)

This commit is contained in:
Anurag Mishra 2020-05-29 10:19:33 +05:30 committed by GitHub
parent 3c460364b5
commit cf0168668f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -143,7 +143,7 @@ def get_number_cards():
number_cards.append( number_cards.append(
get_number_cards_doc("Employee", "Employees Left (Last year)", filters_json = json.dumps([ get_number_cards_doc("Employee", "Employees Left (Last year)", filters_json = json.dumps([
["Employee", "modified", "Previous", "1 year"], ["Employee", "relieving_date", "Previous", "1 year"],
["Employee", "status", "=", "Left"] ["Employee", "status", "=", "Left"]
]) ])
) )

View File

@ -1,6 +1,6 @@
{ {
"action": "Create Entry", "action": "Create Entry",
"creation": "2020-05-27 11:47:34.700174", "creation": "2020-05-28 11:47:34.700174",
"docstatus": 0, "docstatus": 0,
"doctype": "Onboarding Step", "doctype": "Onboarding Step",
"idx": 0, "idx": 0,
@ -14,6 +14,6 @@
"owner": "Administrator", "owner": "Administrator",
"reference_document": "Holiday List", "reference_document": "Holiday List",
"show_full_form": 1, "show_full_form": 1,
"title": "Create Holiday list", "title": "Create Holiday List",
"validate_action": 0 "validate_action": 0
} }

View File

@ -1,6 +1,6 @@
{ {
"action": "Update Settings", "action": "Update Settings",
"creation": "2020-05-14 13:13:52.427711", "creation": "2020-05-28 13:13:52.427711",
"docstatus": 0, "docstatus": 0,
"doctype": "Onboarding Step", "doctype": "Onboarding Step",
"idx": 0, "idx": 0,
@ -14,6 +14,6 @@
"owner": "Administrator", "owner": "Administrator",
"reference_document": "HR Settings", "reference_document": "HR Settings",
"show_full_form": 0, "show_full_form": 0,
"title": "HR settings", "title": "HR Settings",
"validate_action": 0 "validate_action": 0
} }