fix: global search dict in hooks
This commit is contained in:
parent
21abc3aa50
commit
23c916c0d6
@ -354,7 +354,8 @@ user_privacy_documents = [
|
||||
]
|
||||
|
||||
# ERPNext doctypes for Global Search
|
||||
global_search_doctypes = [
|
||||
global_search_doctypes = {
|
||||
"Default": [
|
||||
{"doctype": "Customer", "index": 0},
|
||||
{"doctype": "Supplier", "index": 1},
|
||||
{"doctype": "Item", "index": 2},
|
||||
@ -402,9 +403,8 @@ global_search_doctypes = [
|
||||
{"doctype": "Maintenance Schedule", "index": 44},
|
||||
{"doctype": "Maintenance Visit", "index": 45},
|
||||
{"doctype": "Warranty Claim", "index": 46},
|
||||
]
|
||||
|
||||
healthcare_doctypes = [
|
||||
],
|
||||
"Healthcare": [
|
||||
{'doctype': 'Patient', 'index': 1},
|
||||
{'doctype': 'Medical Department', 'index': 2},
|
||||
{'doctype': 'Vital Signs', 'index': 3},
|
||||
@ -429,9 +429,8 @@ healthcare_doctypes = [
|
||||
{'doctype': 'Sensitivity', 'index': 22},
|
||||
{'doctype': 'Complaint', 'index': 23},
|
||||
{'doctype': 'Medical Code', 'index': 24},
|
||||
]
|
||||
|
||||
education_doctypes = [
|
||||
],
|
||||
"Education": [
|
||||
{'doctype': 'Article', 'index': 1},
|
||||
{'doctype': 'Video', 'index': 2},
|
||||
{'doctype': 'Topic', 'index': 3},
|
||||
@ -472,9 +471,8 @@ education_doctypes = [
|
||||
{'doctype': 'Fee Category', 'index': 38},
|
||||
{'doctype': 'Assessment Code', 'index': 39},
|
||||
{'doctype': 'Discussion', 'index': 40},
|
||||
]
|
||||
|
||||
agriculture_doctypes = [
|
||||
],
|
||||
"Agriculture": [
|
||||
{'doctype': 'Weather', 'index': 1},
|
||||
{'doctype': 'Soil Texture', 'index': 2},
|
||||
{'doctype': 'Water Analysis', 'index': 3},
|
||||
@ -485,9 +483,8 @@ agriculture_doctypes = [
|
||||
{'doctype': 'Crop', 'index': 8},
|
||||
{'doctype': 'Fertilizer', 'index': 9},
|
||||
{'doctype': 'Crop Cycle', 'index': 10}
|
||||
]
|
||||
|
||||
non_profit_doctypes = [
|
||||
],
|
||||
"Non Profit": [
|
||||
{'doctype': 'Certified Consultant', 'index': 1},
|
||||
{'doctype': 'Certification Application', 'index': 2},
|
||||
{'doctype': 'Volunteer', 'index': 3},
|
||||
@ -499,12 +496,12 @@ non_profit_doctypes = [
|
||||
{'doctype': 'Volunteer Type', 'index': 9},
|
||||
{'doctype': 'Donor Type', 'index': 10},
|
||||
{'doctype': 'Membership Type', 'index': 11}
|
||||
]
|
||||
|
||||
hospitality_doctypes = [
|
||||
],
|
||||
"Hospitality": [
|
||||
{'doctype': 'Hotel Room', 'index': 0},
|
||||
{'doctype': 'Hotel Room Reservation', 'index': 1},
|
||||
{'doctype': 'Hotel Room Pricing', 'index': 2},
|
||||
{'doctype': 'Hotel Room Package', 'index': 3},
|
||||
{'doctype': 'Hotel Room Type', 'index': 4}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user