[new] Convert Non Profit Module into Non Profit Domain
This commit is contained in:
parent
43977a1422
commit
397a8761f7
@ -18,5 +18,8 @@ data = {
|
|||||||
},
|
},
|
||||||
'Healthcare': {
|
'Healthcare': {
|
||||||
'company_name': 'ABC Hospital Ltd.'
|
'company_name': 'ABC Hospital Ltd.'
|
||||||
|
},
|
||||||
|
'Non Profit': {
|
||||||
|
'company_name': 'Erpnext Foundation'
|
||||||
}
|
}
|
||||||
}
|
}
|
11
erpnext/domains/non_profit.py
Normal file
11
erpnext/domains/non_profit.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
data = {
|
||||||
|
'desktop_icons': [
|
||||||
|
'Non Profit',
|
||||||
|
'Sales Invoice',
|
||||||
|
'ToDo'
|
||||||
|
],
|
||||||
|
'modules': [
|
||||||
|
+ 'Non Profit'
|
||||||
|
+ ],
|
||||||
|
'default_portal_role': 'System Manager'
|
||||||
|
}
|
@ -297,7 +297,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-14 15:16:56.369358",
|
"modified": "2017-11-20 17:41:43.021123",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Chapter",
|
"name": "Chapter",
|
||||||
@ -328,6 +328,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"route": "chapter",
|
"route": "chapter",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
|
@ -144,7 +144,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-14 15:15:02.427559",
|
"modified": "2017-11-20 17:41:19.173820",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Chapter Member",
|
"name": "Chapter Member",
|
||||||
@ -154,6 +154,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-10-16 09:07:49.187133",
|
"modified": "2017-11-20 17:43:02.485914",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Chapter Message",
|
"name": "Chapter Message",
|
||||||
@ -145,6 +145,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -356,7 +356,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-22 13:10:56.137043",
|
"modified": "2017-11-20 17:43:43.941584",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Donor",
|
"name": "Donor",
|
||||||
@ -387,6 +387,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-10-05 16:00:57.751338",
|
"modified": "2017-11-20 17:43:50.591577",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Donor Type",
|
"name": "Donor Type",
|
||||||
@ -85,6 +85,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -837,7 +837,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-11-03 15:10:09.570716",
|
"modified": "2017-11-20 17:43:57.337044",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Grant Application",
|
"name": "Grant Application",
|
||||||
@ -888,6 +888,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"route": "grant-application",
|
"route": "grant-application",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
|
@ -386,7 +386,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-10-05 14:42:21.421863",
|
"modified": "2017-11-20 17:42:35.967665",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Member",
|
"name": "Member",
|
||||||
@ -417,6 +417,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -237,7 +237,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-18 13:14:55.754879",
|
"modified": "2017-11-20 17:42:50.809691",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Membership",
|
"name": "Membership",
|
||||||
@ -268,6 +268,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-18 13:02:15.251378",
|
"modified": "2017-11-20 17:43:09.842510",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Membership Type",
|
"name": "Membership Type",
|
||||||
@ -115,6 +115,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-20 15:28:45.962398",
|
"modified": "2017-11-20 17:43:27.325962",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Volunteer Availability",
|
"name": "Volunteer Availability",
|
||||||
@ -64,6 +64,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-20 15:28:53.203725",
|
"modified": "2017-11-20 17:43:35.369782",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Volunteer Skills",
|
"name": "Volunteer Skills",
|
||||||
@ -64,6 +64,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2017-09-19 16:13:07.763273",
|
"modified": "2017-11-20 17:43:18.565649",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Non Profit",
|
"module": "Non Profit",
|
||||||
"name": "Volunteer Type",
|
"name": "Volunteer Type",
|
||||||
@ -115,6 +115,7 @@
|
|||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
"read_only": 0,
|
"read_only": 0,
|
||||||
"read_only_onload": 0,
|
"read_only_onload": 0,
|
||||||
|
"restrict_to_domain": "Non Profit",
|
||||||
"show_name_in_global_search": 0,
|
"show_name_in_global_search": 0,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
@ -25,8 +25,9 @@ erpnext.setup.slides_settings = [
|
|||||||
{ "label": __("Manufacturing"), "value": "Manufacturing" },
|
{ "label": __("Manufacturing"), "value": "Manufacturing" },
|
||||||
{ "label": __("Retail"), "value": "Retail" },
|
{ "label": __("Retail"), "value": "Retail" },
|
||||||
{ "label": __("Services"), "value": "Services" },
|
{ "label": __("Services"), "value": "Services" },
|
||||||
{ "label": __("Education"), "value": "Education" },
|
{ "label": __("Education (beta)"), "value": "Education" },
|
||||||
{"label": __("Healthcare (beta)"), "value": "Healthcare"}
|
{"label": __("Healthcare (beta)"), "value": "Healthcare"},
|
||||||
|
{"label": __("Non Profit (beta)"), "value": "Non Profit"}
|
||||||
], reqd: 1
|
], reqd: 1
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -222,20 +223,3 @@ erpnext.setup.fiscal_years = {
|
|||||||
"Thailand": ["10-01", "09-30"],
|
"Thailand": ["10-01", "09-30"],
|
||||||
"United Kingdom": ["04-01", "03-31"],
|
"United Kingdom": ["04-01", "03-31"],
|
||||||
};
|
};
|
||||||
|
|
||||||
// var test_values_edu = {
|
|
||||||
// "language": "english",
|
|
||||||
// "domain": "Education",
|
|
||||||
// "country": "India",
|
|
||||||
// "timezone": "Asia/Kolkata",
|
|
||||||
// "currency": "INR",
|
|
||||||
// "first_name": "Tester",
|
|
||||||
// "email": "test@example.com",
|
|
||||||
// "password": "test",
|
|
||||||
// "company_name": "Hogwarts",
|
|
||||||
// "company_abbr": "HS",
|
|
||||||
// "company_tagline": "School for magicians",
|
|
||||||
// "bank_account": "Gringotts Wizarding Bank",
|
|
||||||
// "fy_start_date": "2016-04-01",
|
|
||||||
// "fy_end_date": "2017-03-31"
|
|
||||||
// }
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,7 @@ def install(country=None):
|
|||||||
{ 'doctype': 'Domain', 'domain': 'Services'},
|
{ 'doctype': 'Domain', 'domain': 'Services'},
|
||||||
{ 'doctype': 'Domain', 'domain': 'Education'},
|
{ 'doctype': 'Domain', 'domain': 'Education'},
|
||||||
{ 'doctype': 'Domain', 'domain': 'Healthcare'},
|
{ 'doctype': 'Domain', 'domain': 'Healthcare'},
|
||||||
|
{ 'doctype': 'Domain', 'domain': 'Non Profit'},
|
||||||
|
|
||||||
# Setup Progress
|
# Setup Progress
|
||||||
{'doctype': "Setup Progress", "actions": [
|
{'doctype': "Setup Progress", "actions": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user