Enable features in Sahana config
This commit is contained in:
parent
c6782e3557
commit
c41e2bbdea
@ -30,7 +30,7 @@ def config(settings):
|
|||||||
#settings.base.theme = "default"
|
#settings.base.theme = "default"
|
||||||
|
|
||||||
# Enable Guided Tours
|
# Enable Guided Tours
|
||||||
settings.base.guided_tour = True
|
#settings.base.guided_tour = True
|
||||||
|
|
||||||
# Authentication settings
|
# Authentication settings
|
||||||
# These settings should be changed _after_ the 1st (admin) user is
|
# These settings should be changed _after_ the 1st (admin) user is
|
||||||
@ -43,9 +43,9 @@ def config(settings):
|
|||||||
#settings.auth.registration_requires_approval = True
|
#settings.auth.registration_requires_approval = True
|
||||||
|
|
||||||
# Allow a new user to be linked to a record (and a new record will be created if it doesn't already exist)
|
# Allow a new user to be linked to a record (and a new record will be created if it doesn't already exist)
|
||||||
#settings.auth.registration_link_user_to = {"staff":T("Staff"),
|
settings.auth.registration_link_user_to = {"staff":T("Staff"),
|
||||||
# "volunteer":T("Volunteer"),
|
"volunteer":T("Volunteer"),
|
||||||
# "member":T("Member")}
|
"member":T("Member")}
|
||||||
|
|
||||||
# Always notify the approver of a new (verified) user, even if the user is automatically approved
|
# Always notify the approver of a new (verified) user, even if the user is automatically approved
|
||||||
#settings.auth.always_notify_approver = False
|
#settings.auth.always_notify_approver = False
|
||||||
@ -55,19 +55,19 @@ def config(settings):
|
|||||||
# Uncomment this to set the opt in default to True
|
# Uncomment this to set the opt in default to True
|
||||||
#settings.auth.opt_in_default = True
|
#settings.auth.opt_in_default = True
|
||||||
# Uncomment this to request the Home Phone when a user registers
|
# Uncomment this to request the Home Phone when a user registers
|
||||||
#settings.auth.registration_requests_home_phone = True
|
settings.auth.registration_requests_home_phone = True
|
||||||
# Uncomment this to request the Mobile Phone when a user registers
|
# Uncomment this to request the Mobile Phone when a user registers
|
||||||
#settings.auth.registration_requests_mobile_phone = True
|
settings.auth.registration_requests_mobile_phone = True
|
||||||
# Uncomment this to have the Mobile Phone selection during registration be mandatory
|
# Uncomment this to have the Mobile Phone selection during registration be mandatory
|
||||||
#settings.auth.registration_mobile_phone_mandatory = True
|
#settings.auth.registration_mobile_phone_mandatory = True
|
||||||
# Uncomment this to request the Organisation when a user registers
|
# Uncomment this to request the Organisation when a user registers
|
||||||
#settings.auth.registration_requests_organisation = True
|
settings.auth.registration_requests_organisation = True
|
||||||
# Uncomment this to have the Organisation selection during registration be mandatory
|
# Uncomment this to have the Organisation selection during registration be mandatory
|
||||||
#settings.auth.registration_organisation_required = True
|
settings.auth.registration_organisation_required = True
|
||||||
# Uncomment this to have the Organisation input hidden unless the user enters a non-whitelisted domain
|
# Uncomment this to have the Organisation input hidden unless the user enters a non-whitelisted domain
|
||||||
#settings.auth.registration_organisation_hidden = True
|
#settings.auth.registration_organisation_hidden = True
|
||||||
# Uncomment this to default the Organisation during registration
|
# Uncomment this to default the Organisation during registration
|
||||||
#settings.auth.registration_organisation_default = "My Organisation"
|
settings.auth.registration_organisation_default = "My Organisation"
|
||||||
# Uncomment this to request the Organisation Group when a user registers
|
# Uncomment this to request the Organisation Group when a user registers
|
||||||
#settings.auth.registration_requests_organisation_group = True
|
#settings.auth.registration_requests_organisation_group = True
|
||||||
# Uncomment this to have the Organisation Group selection during registration be mandatory
|
# Uncomment this to have the Organisation Group selection during registration be mandatory
|
||||||
@ -84,11 +84,11 @@ def config(settings):
|
|||||||
# The keys "organisation_id" and "site_id" can be used to indicate the user's "organisation_id" and "site_id"
|
# The keys "organisation_id" and "site_id" can be used to indicate the user's "organisation_id" and "site_id"
|
||||||
#settings.auth.registration_roles = { 0: ["STAFF", "PROJECT_EDIT"]}
|
#settings.auth.registration_roles = { 0: ["STAFF", "PROJECT_EDIT"]}
|
||||||
# Whether the first user to register for an Org should get the ORG_ADMIN role for that Org
|
# Whether the first user to register for an Org should get the ORG_ADMIN role for that Org
|
||||||
#settings.auth.org_admin_to_first = True
|
settings.auth.org_admin_to_first = True
|
||||||
# Define which entity types to use as realm entities in role manager
|
# Define which entity types to use as realm entities in role manager
|
||||||
#settings.auth.realm_entity_types = ("org_organisation",)
|
settings.auth.realm_entity_types = ("org_organisation",)
|
||||||
# Uncomment to activate entity role manager tabs for OrgAdmins
|
# Uncomment to activate entity role manager tabs for OrgAdmins
|
||||||
#settings.auth.entity_role_manager = True
|
settings.auth.entity_role_manager = True
|
||||||
# Define modules for entity role manager
|
# Define modules for entity role manager
|
||||||
#settings.auth.role_modules = OrderedDict([])
|
#settings.auth.role_modules = OrderedDict([])
|
||||||
# Define access levels for entity role manager
|
# Define access levels for entity role manager
|
||||||
@ -126,38 +126,11 @@ def config(settings):
|
|||||||
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
||||||
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||||
settings.L10n.languages = OrderedDict([
|
settings.L10n.languages = OrderedDict([
|
||||||
("ar", "العربية"),
|
("cz", "Česky"),
|
||||||
("bs", "Bosanski"),
|
|
||||||
("en", "English"),
|
("en", "English"),
|
||||||
("fr", "Français"),
|
|
||||||
("de", "Deutsch"),
|
|
||||||
("el", "ελληνικά"),
|
|
||||||
("es", "Español"),
|
|
||||||
("it", "Italiano"),
|
|
||||||
("ja", "日本語"),
|
|
||||||
("km", "ភាសាខ្មែរ"),
|
|
||||||
("ko", "한국어"),
|
|
||||||
("mn", "Монгол хэл"), # Mongolian
|
|
||||||
("my", "မြန်မာစာ"), # Burmese
|
|
||||||
("ne", "नेपाली"), # Nepali
|
|
||||||
("prs", "دری"), # Dari
|
|
||||||
("ps", "پښتو"), # Pashto
|
|
||||||
("pt", "Português"),
|
|
||||||
("pt-br", "Português (Brasil)"),
|
|
||||||
("ru", "русский"),
|
|
||||||
("tet", "Tetum"),
|
|
||||||
#("si", "සිංහල"), # Sinhala
|
|
||||||
#("ta", "தமிழ்"), # Tamil
|
|
||||||
#("th", "ภาษาไทย"), # Thai
|
|
||||||
("tl", "Tagalog"),
|
|
||||||
("tr", "Türkçe"),
|
|
||||||
("ur", "اردو"),
|
|
||||||
("vi", "Tiếng Việt"),
|
|
||||||
("zh-cn", "中文 (简体)"),
|
|
||||||
("zh-tw", "中文 (繁體)"),
|
|
||||||
])
|
])
|
||||||
# Default language for Language Toolbar (& GIS Locations in future)
|
# Default language for Language Toolbar (& GIS Locations in future)
|
||||||
#settings.L10n.default_language = "en"
|
settings.L10n.default_language = "cz"
|
||||||
# Uncomment to Hide the language toolbar
|
# Uncomment to Hide the language toolbar
|
||||||
#settings.L10n.display_toolbar = False
|
#settings.L10n.display_toolbar = False
|
||||||
# Default timezone for users
|
# Default timezone for users
|
||||||
@ -169,23 +142,23 @@ def config(settings):
|
|||||||
#settings.L10n.firstDOW = 0
|
#settings.L10n.firstDOW = 0
|
||||||
# Number formats (defaults to ISO 31-0)
|
# Number formats (defaults to ISO 31-0)
|
||||||
# Decimal separator for numbers (defaults to ,)
|
# Decimal separator for numbers (defaults to ,)
|
||||||
settings.L10n.decimal_separator = "."
|
#settings.L10n.decimal_separator = "."
|
||||||
# Thousands separator for numbers (defaults to space)
|
# Thousands separator for numbers (defaults to space)
|
||||||
#settings.L10n.thousands_separator = ","
|
#settings.L10n.thousands_separator = ","
|
||||||
# Default Country Code for telephone numbers
|
# Default Country Code for telephone numbers
|
||||||
#settings.L10n.default_country_code = 1
|
#settings.L10n.default_country_code = 1
|
||||||
# Make last name in person/user records mandatory
|
# Make last name in person/user records mandatory
|
||||||
#settings.L10n.mandatory_lastname = True
|
settings.L10n.mandatory_lastname = True
|
||||||
# Configure the list of Religions
|
# Configure the list of Religions
|
||||||
#settings.L10n.religions = {"none": T("none"),
|
settings.L10n.religions = {"none": T("none"),
|
||||||
#"christian": T("Christian"),
|
"christian": T("Christian"),
|
||||||
#"muslim": T("Muslim"),
|
"muslim": T("Muslim"),
|
||||||
#"jewish": T("Jewish"),
|
"jewish": T("Jewish"),
|
||||||
#"buddhist": T("Buddhist"),
|
"buddhist": T("Buddhist"),
|
||||||
#"hindu": T("Hindu"),
|
"hindu": T("Hindu"),
|
||||||
#"bahai": T("Bahai"),
|
"bahai": T("Bahai"),
|
||||||
#"other": T("other")
|
"other": T("other")
|
||||||
#}
|
}
|
||||||
# Uncomment this to Translate CMS Series Names
|
# Uncomment this to Translate CMS Series Names
|
||||||
#settings.L10n.translate_cms_series = True
|
#settings.L10n.translate_cms_series = True
|
||||||
# Uncomment this to Translate Layer Names
|
# Uncomment this to Translate Layer Names
|
||||||
@ -200,12 +173,14 @@ def config(settings):
|
|||||||
#settings.L10n.translate_org_site = True
|
#settings.L10n.translate_org_site = True
|
||||||
|
|
||||||
# Finance settings
|
# Finance settings
|
||||||
#settings.fin.currencies = {
|
settings.fin.currencies = {
|
||||||
# "EUR" : "Euros",
|
"BTC" : "BitCoin",
|
||||||
# "GBP" : "Great British Pounds",
|
"CZK" : "Czech Koruna",
|
||||||
# "USD" : "United States Dollars",
|
"EUR" : "Euros",
|
||||||
#}
|
"GBP" : "Great British Pounds",
|
||||||
#settings.fin.currency_default = "USD"
|
"USD" : "United States Dollars",
|
||||||
|
}
|
||||||
|
settings.fin.currency_default = "CZK"
|
||||||
#settings.fin.currency_writable = False # False currently breaks things
|
#settings.fin.currency_writable = False # False currently breaks things
|
||||||
|
|
||||||
# PDF settings
|
# PDF settings
|
||||||
@ -228,11 +203,11 @@ def config(settings):
|
|||||||
# e.g. Activities filtered to those of parent Project
|
# e.g. Activities filtered to those of parent Project
|
||||||
#settings.gis.countries = ("US",)
|
#settings.gis.countries = ("US",)
|
||||||
# Uncomment to pass Addresses imported from CSV to a Geocoder to try and automate Lat/Lon
|
# Uncomment to pass Addresses imported from CSV to a Geocoder to try and automate Lat/Lon
|
||||||
#settings.gis.geocode_imported_addresses = "google"
|
settings.gis.geocode_imported_addresses = "google"
|
||||||
# Hide the Map-based selection tool in the Location Selector
|
# Hide the Map-based selection tool in the Location Selector
|
||||||
#settings.gis.map_selector = False
|
#settings.gis.map_selector = False
|
||||||
# Show LatLon boxes in the Location Selector
|
# Show LatLon boxes in the Location Selector
|
||||||
#settings.gis.latlon_selector = True
|
settings.gis.latlon_selector = True
|
||||||
# Use Building Names as a separate field in Street Addresses?
|
# Use Building Names as a separate field in Street Addresses?
|
||||||
#settings.gis.building_name = False
|
#settings.gis.building_name = False
|
||||||
# Use a non-default fillColor for Clustered points
|
# Use a non-default fillColor for Clustered points
|
||||||
@ -268,7 +243,7 @@ def config(settings):
|
|||||||
# Uncomment to use CMS to provide Metadata on Map Layers
|
# Uncomment to use CMS to provide Metadata on Map Layers
|
||||||
#settings.gis.layer_metadata = True
|
#settings.gis.layer_metadata = True
|
||||||
# Uncomment to show Clear Layers tool
|
# Uncomment to show Clear Layers tool
|
||||||
#settings.gis.clear_layers = True
|
settings.gis.clear_layers = True
|
||||||
# Uncomment to hide the Geolocation control
|
# Uncomment to hide the Geolocation control
|
||||||
#settings.gis.geolocate_control = False
|
#settings.gis.geolocate_control = False
|
||||||
# Uncomment to hide the WMS GetFeatureInfo control
|
# Uncomment to hide the WMS GetFeatureInfo control
|
||||||
@ -286,7 +261,7 @@ def config(settings):
|
|||||||
# Uncomment to have custom folders in the LayerTree use Radio Buttons
|
# Uncomment to have custom folders in the LayerTree use Radio Buttons
|
||||||
#settings.gis.layer_tree_radio = True
|
#settings.gis.layer_tree_radio = True
|
||||||
# Uncomment to display the Map Legend as a floating DIV
|
# Uncomment to display the Map Legend as a floating DIV
|
||||||
#settings.gis.legend = "float"
|
settings.gis.legend = "float"
|
||||||
# Uncomment to prevent showing LatLon in Location Represents
|
# Uncomment to prevent showing LatLon in Location Represents
|
||||||
#settings.gis.location_represent_address_only = True
|
#settings.gis.location_represent_address_only = True
|
||||||
# Mouse Position: 'normal', 'mgrs' or None
|
# Mouse Position: 'normal', 'mgrs' or None
|
||||||
@ -299,7 +274,7 @@ def config(settings):
|
|||||||
#settings.gis.permalink = False
|
#settings.gis.permalink = False
|
||||||
# Resources which can be directly added to the main map
|
# Resources which can be directly added to the main map
|
||||||
#settings.gis.poi_create_resources = None
|
#settings.gis.poi_create_resources = None
|
||||||
#settings.gis.poi_create_resources = [{"c":"event", "f":"incident_report", "table": "gis_poi", label": T("Add Incident Report") ,"tooltip": T("Add Incident Report"), "layer":"Incident Reports", "location": "popup"}]
|
settings.gis.poi_create_resources = [{"c":"event", "f":"incident_report", "table": "gis_poi", "label": T("Add Incident Report") ,"tooltip": T("Add Incident Report"), "layer":"Incident Reports", "location": "popup"}]
|
||||||
# PoIs to export in KML/OSM feeds from Admin locations
|
# PoIs to export in KML/OSM feeds from Admin locations
|
||||||
#settings.gis.poi_export_resources = ["cr_shelter", "hms_hospital", "org_office"]
|
#settings.gis.poi_export_resources = ["cr_shelter", "hms_hospital", "org_office"]
|
||||||
# Uncomment to show the Print control:
|
# Uncomment to show the Print control:
|
||||||
@ -357,7 +332,7 @@ def config(settings):
|
|||||||
# 7: Apply Controller, Function, Table ACLs and Entity Realm + Hierarchy
|
# 7: Apply Controller, Function, Table ACLs and Entity Realm + Hierarchy
|
||||||
# 8: Apply Controller, Function, Table ACLs, Entity Realm + Hierarchy and Delegations
|
# 8: Apply Controller, Function, Table ACLs, Entity Realm + Hierarchy and Delegations
|
||||||
#
|
#
|
||||||
#settings.security.policy = 7 # Organisation-ACLs
|
settings.security.policy = 7 # Organisation-ACLs
|
||||||
|
|
||||||
# Ownership-rule for records without owner:
|
# Ownership-rule for records without owner:
|
||||||
# True = not owned by any user (strict ownership, default)
|
# True = not owned by any user (strict ownership, default)
|
||||||
@ -424,7 +399,7 @@ def config(settings):
|
|||||||
# Uncomment to change the label/class of FilterForm clear buttons
|
# Uncomment to change the label/class of FilterForm clear buttons
|
||||||
#settings.ui.filter_clear = "Clear"
|
#settings.ui.filter_clear = "Clear"
|
||||||
# Uncomment to include an Interim Save button on CRUD forms
|
# Uncomment to include an Interim Save button on CRUD forms
|
||||||
#settings.ui.interim_save = True
|
settings.ui.interim_save = True
|
||||||
# Uncomment to enable icons on action buttons (requires corresponding CSS)
|
# Uncomment to enable icons on action buttons (requires corresponding CSS)
|
||||||
#settings.ui.use_button_icons = True
|
#settings.ui.use_button_icons = True
|
||||||
# Uncomment to use S3MultiSelectWidget on all dropdowns (currently the Auth Registration page & LocationSelectorWidget2 listen to this)
|
# Uncomment to use S3MultiSelectWidget on all dropdowns (currently the Auth Registration page & LocationSelectorWidget2 listen to this)
|
||||||
@ -435,7 +410,7 @@ def config(settings):
|
|||||||
# stripes = False,
|
# stripes = False,
|
||||||
# )
|
# )
|
||||||
# Uncomment to show a default cancel button in standalone create/update forms
|
# Uncomment to show a default cancel button in standalone create/update forms
|
||||||
#settings.ui.default_cancel_button = True
|
settings.ui.default_cancel_button = True
|
||||||
# Uncomment to disable responsive behavior of datatables
|
# Uncomment to disable responsive behavior of datatables
|
||||||
#settings.ui.datatables_responsive = False
|
#settings.ui.datatables_responsive = False
|
||||||
# Uncomment to modify the label of the Permalink
|
# Uncomment to modify the label of the Permalink
|
||||||
@ -451,7 +426,7 @@ def config(settings):
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# CMS
|
# CMS
|
||||||
# Uncomment this to hide CMS from module index pages
|
# Uncomment this to hide CMS from module index pages
|
||||||
#settings.cms.hide_index = True
|
settings.cms.hide_index = True
|
||||||
# Uncomment to use Bookmarks in Newsfeed
|
# Uncomment to use Bookmarks in Newsfeed
|
||||||
#settings.cms.bookmarks = True
|
#settings.cms.bookmarks = True
|
||||||
# Uncomment to use have Filter form in Newsfeed be open by default
|
# Uncomment to use have Filter form in Newsfeed be open by default
|
||||||
@ -459,15 +434,15 @@ def config(settings):
|
|||||||
# Uncomment to adjust filters in Newsfeed when clicking on locations instead of opening the profile page
|
# Uncomment to adjust filters in Newsfeed when clicking on locations instead of opening the profile page
|
||||||
#settings.cms.location_click_filters = True
|
#settings.cms.location_click_filters = True
|
||||||
# Uncomment to use Rich Text editor in Newsfeed
|
# Uncomment to use Rich Text editor in Newsfeed
|
||||||
#settings.cms.richtext = True
|
settings.cms.richtext = True
|
||||||
# Uncomment to show Events in Newsfeed
|
# Uncomment to show Events in Newsfeed
|
||||||
#settings.cms.show_events = True
|
settings.cms.show_events = True
|
||||||
# Uncomment to hide Attachments in Newsfeed
|
# Uncomment to hide Attachments in Newsfeed
|
||||||
#settings.cms.show_attachments = False
|
#settings.cms.show_attachments = False
|
||||||
# Uncomment to show Links in Newsfeed
|
# Uncomment to show Links in Newsfeed
|
||||||
#settings.cms.show_links = True
|
settings.cms.show_links = True
|
||||||
# Uncomment to show Tags in Newsfeed
|
# Uncomment to show Tags in Newsfeed
|
||||||
#settings.cms.show_tags = True
|
settings.cms.show_tags = True
|
||||||
# Uncomment to show post Titles in Newsfeed
|
# Uncomment to show post Titles in Newsfeed
|
||||||
#settings.cms.show_titles = True
|
#settings.cms.show_titles = True
|
||||||
# Uncomment to use organisation_id instead of created_by in Newsfeed
|
# Uncomment to use organisation_id instead of created_by in Newsfeed
|
||||||
@ -485,7 +460,7 @@ def config(settings):
|
|||||||
# Uncomment to disable people registration in shelters
|
# Uncomment to disable people registration in shelters
|
||||||
#settings.cr.people_registration = False
|
#settings.cr.people_registration = False
|
||||||
# Uncomment to use Tags for Shelters
|
# Uncomment to use Tags for Shelters
|
||||||
#settings.cr.tags = True
|
settings.cr.tags = True
|
||||||
# Uncomment to generate tasks from shelter inspections (requires project module)
|
# Uncomment to generate tasks from shelter inspections (requires project module)
|
||||||
#settings.cr.shelter_inspection_tasks = True
|
#settings.cr.shelter_inspection_tasks = True
|
||||||
# Configure active statuses for shelter inspection tasks (subset of project.task_status_opts)
|
# Configure active statuses for shelter inspection tasks (subset of project.task_status_opts)
|
||||||
@ -562,7 +537,7 @@ def config(settings):
|
|||||||
# Make Incident Types Hierarchical
|
# Make Incident Types Hierarchical
|
||||||
#settings.event.incident_types_hierarchical = True
|
#settings.event.incident_types_hierarchical = True
|
||||||
# Uncomment to allow the use of Exercise Events
|
# Uncomment to allow the use of Exercise Events
|
||||||
#settings.event.exercise = True
|
settings.event.exercise = True
|
||||||
# Show tab for Event Dispatch
|
# Show tab for Event Dispatch
|
||||||
#settings.event.dispatch_tab = False
|
#settings.event.dispatch_tab = False
|
||||||
# Hide tab for Event Impacts
|
# Hide tab for Event Impacts
|
||||||
@ -574,25 +549,25 @@ def config(settings):
|
|||||||
# Hide tab for Incident Dispatch
|
# Hide tab for Incident Dispatch
|
||||||
#settings.event.incident_dispatch_tab = False
|
#settings.event.incident_dispatch_tab = False
|
||||||
# Show tab for Incident Impacts
|
# Show tab for Incident Impacts
|
||||||
#settings.event.incident_impact_tab = True
|
settings.event.incident_impact_tab = True
|
||||||
# Show tab for Incident Teams
|
# Show tab for Incident Teams
|
||||||
#settings.event.incident_teams_tab = True
|
settings.event.incident_teams_tab = True
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Members
|
# Members
|
||||||
# Hide Membership Types
|
# Hide Membership Types
|
||||||
#settings.member.membership_types = False
|
#settings.member.membership_types = False
|
||||||
# Show a CV tab for Members
|
# Show a CV tab for Members
|
||||||
#settings.member.cv_tab = True
|
settings.member.cv_tab = True
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Persons
|
# Persons
|
||||||
# Uncomment to allow person imports to match even without email addresses
|
# Uncomment to allow person imports to match even without email addresses
|
||||||
#settings.pr.import_update_requires_email = False
|
settings.pr.import_update_requires_email = False
|
||||||
# Uncomment this to enable support for third gender
|
# Uncomment this to enable support for third gender
|
||||||
#settings.pr.hide_third_gender = False
|
#settings.pr.hide_third_gender = False
|
||||||
# Uncomment to a fuzzy search for duplicates in the new AddPersonWidget2
|
# Uncomment to a fuzzy search for duplicates in the new AddPersonWidget2
|
||||||
#settings.pr.lookup_duplicates = True
|
settings.pr.lookup_duplicates = True
|
||||||
# Uncomment to hide fields in S3AddPersonWidget[2]
|
# Uncomment to hide fields in S3AddPersonWidget[2]
|
||||||
#settings.pr.request_dob = False
|
#settings.pr.request_dob = False
|
||||||
#settings.pr.request_email = False
|
#settings.pr.request_email = False
|
||||||
@ -600,9 +575,9 @@ def config(settings):
|
|||||||
# Uncomment to show field in S3AddPersonWidget
|
# Uncomment to show field in S3AddPersonWidget
|
||||||
#settings.pr.request_home_phone = True
|
#settings.pr.request_home_phone = True
|
||||||
# Uncomment to modify the order of Names
|
# Uncomment to modify the order of Names
|
||||||
#settings.pr.name_format = "%(last_name)s, %(first_name)s %(middle_name)s"
|
settings.pr.name_format = "%(first_name)s %(middle_name)s %(last_name)s"
|
||||||
# Uncomment to prevent selecting existing users in the old S3AddPersonWidget
|
# Uncomment to prevent selecting existing users in the old S3AddPersonWidget
|
||||||
#settings.pr.select_existing = False
|
settings.pr.select_existing = False
|
||||||
# Uncomment to prevent showing HR details in S3PersonAutocompleteWidget results
|
# Uncomment to prevent showing HR details in S3PersonAutocompleteWidget results
|
||||||
#settings.pr.search_shows_hr_details = False
|
#settings.pr.search_shows_hr_details = False
|
||||||
# Uncomment to hide Emergency Contacts in Person Contacts page
|
# Uncomment to hide Emergency Contacts in Person Contacts page
|
||||||
@ -610,45 +585,45 @@ def config(settings):
|
|||||||
# Uncomment to hide the Address tab in person details
|
# Uncomment to hide the Address tab in person details
|
||||||
#settings.pr.use_address = False
|
#settings.pr.use_address = False
|
||||||
# Show separate Public and Private Contacts Tabs
|
# Show separate Public and Private Contacts Tabs
|
||||||
#settings.pr.contacts_tabs = ("public", "private")
|
settings.pr.contacts_tabs = ("public", "private")
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Organisations
|
# Organisations
|
||||||
# Uncomment to use an Autocomplete for Organisation lookup fields
|
# Uncomment to use an Autocomplete for Organisation lookup fields
|
||||||
#settings.org.autocomplete = True
|
#settings.org.autocomplete = True
|
||||||
# Enable the Organisation Sector field
|
# Enable the Organisation Sector field
|
||||||
#settings.org.sector = True
|
settings.org.sector = True
|
||||||
# Enable the use of Organisation Branches
|
# Enable the use of Organisation Branches
|
||||||
#settings.org.branches = True
|
settings.org.branches = True
|
||||||
# Show branches as tree rather than as table
|
# Show branches as tree rather than as table
|
||||||
#settings.org.branches_tree_view = True
|
settings.org.branches_tree_view = True
|
||||||
# Make Facility Types Hierarchical
|
# Make Facility Types Hierarchical
|
||||||
#settings.org.facility_types_hierarchical = True
|
settings.org.facility_types_hierarchical = True
|
||||||
# Enable the use of Organisation Groups & what their name is
|
# Enable the use of Organisation Groups & what their name is
|
||||||
#settings.org.groups = "Coalition"
|
#settings.org.groups = "Coalition"
|
||||||
#settings.org.groups = "Network"
|
#settings.org.groups = "Network"
|
||||||
# Organisation Location context
|
# Organisation Location context
|
||||||
#settings.org.organisation_location_context = "organisation_location.location_id"
|
settings.org.organisation_location_context = "organisation_location.location_id"
|
||||||
# Make Organisation Types Hierarchical
|
# Make Organisation Types Hierarchical
|
||||||
#settings.org.organisation_types_hierarchical = True
|
settings.org.organisation_types_hierarchical = True
|
||||||
# Make Organisation Types Multiple
|
# Make Organisation Types Multiple
|
||||||
#settings.org.organisation_types_multiple = True
|
settings.org.organisation_types_multiple = True
|
||||||
# Enable the use of Organisation Regions
|
# Enable the use of Organisation Regions
|
||||||
#settings.org.regions = True
|
settings.org.regions = True
|
||||||
# Make Organisation Regions Hierarchical
|
# Make Organisation Regions Hierarchical
|
||||||
#settings.org.regions_hierarchical = True
|
settings.org.regions_hierarchical = True
|
||||||
# Enable the use of Organisation Region Countries
|
# Enable the use of Organisation Region Countries
|
||||||
#settings.org.region_countries = True
|
settings.org.region_countries = True
|
||||||
# Uncomment to show a Tab for Organisation Resources
|
# Uncomment to show a Tab for Organisation Resources
|
||||||
#settings.org.resources_tab = True
|
settings.org.resources_tab = True
|
||||||
# Make Services Hierarchical
|
# Make Services Hierarchical
|
||||||
#settings.org.services_hierarchical = True
|
settings.org.services_hierarchical = True
|
||||||
# Set the length of the auto-generated org/site code the default is 10
|
# Set the length of the auto-generated org/site code the default is 10
|
||||||
#settings.org.site_code_len = 3
|
settings.org.site_code_len = 13
|
||||||
# Set the label for Sites
|
# Set the label for Sites
|
||||||
#settings.org.site_label = "Facility"
|
settings.org.site_label = "Facility"
|
||||||
# Uncomment to show the date when a Site (Facilities-only for now) was last contacted
|
# Uncomment to show the date when a Site (Facilities-only for now) was last contacted
|
||||||
#settings.org.site_last_contacted = True
|
settings.org.site_last_contacted = True
|
||||||
# Uncomment to use an Autocomplete for Site lookup fields
|
# Uncomment to use an Autocomplete for Site lookup fields
|
||||||
#settings.org.site_autocomplete = True
|
#settings.org.site_autocomplete = True
|
||||||
# Extra fields to search in Autocompletes & display in Representations
|
# Extra fields to search in Autocompletes & display in Representations
|
||||||
@ -656,9 +631,9 @@ def config(settings):
|
|||||||
# Uncomment to hide inv & req tabs from Sites
|
# Uncomment to hide inv & req tabs from Sites
|
||||||
#settings.org.site_inv_req_tabs = False
|
#settings.org.site_inv_req_tabs = False
|
||||||
# Uncomment to allow Sites to be staffed by Volunteers
|
# Uncomment to allow Sites to be staffed by Volunteers
|
||||||
#settings.org.site_volunteers = True
|
settings.org.site_volunteers = True
|
||||||
# Uncomment to add summary fields for Organisations/Offices for # National/International staff
|
# Uncomment to add summary fields for Organisations/Offices for # National/International staff
|
||||||
#settings.org.summary = True
|
settings.org.summary = True
|
||||||
# Enable certain fields just for specific Organisations
|
# Enable certain fields just for specific Organisations
|
||||||
# Requires a call to settings.set_org_dependent_field(field)
|
# Requires a call to settings.set_org_dependent_field(field)
|
||||||
# empty list => disabled for all (including Admin)
|
# empty list => disabled for all (including Admin)
|
||||||
@ -678,53 +653,53 @@ def config(settings):
|
|||||||
# Uncomment to make Facility codes unique
|
# Uncomment to make Facility codes unique
|
||||||
#settings.org.facility_code_unique = True
|
#settings.org.facility_code_unique = True
|
||||||
# Uncomment to use Tags for Organisations, Offices & Facilities
|
# Uncomment to use Tags for Organisations, Offices & Facilities
|
||||||
#settings.org.tags = True
|
settings.org.tags = True
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Human Resource Management
|
# Human Resource Management
|
||||||
# Uncomment to change the label for 'Staff'
|
# Uncomment to change the label for 'Staff'
|
||||||
#settings.hrm.staff_label = "Contacts"
|
settings.hrm.staff_label = "Contacts"
|
||||||
# Uncomment to allow Staff & Volunteers to be registered without an email address
|
# Uncomment to allow Staff & Volunteers to be registered without an email address
|
||||||
#settings.hrm.email_required = False
|
#settings.hrm.email_required = False
|
||||||
# Uncomment to allow Staff & Volunteers to be registered without an Organisation
|
# Uncomment to allow Staff & Volunteers to be registered without an Organisation
|
||||||
#settings.hrm.org_required = False
|
settings.hrm.org_required = False
|
||||||
# Uncomment to if their are only Staff & Volunteers from a single Organisation with no Branches
|
# Uncomment to if their are only Staff & Volunteers from a single Organisation with no Branches
|
||||||
#settings.hrm.multiple_orgs = False
|
#settings.hrm.multiple_orgs = False
|
||||||
# Uncomment to disable the 'Send Message' action button
|
# Uncomment to disable the 'Send Message' action button
|
||||||
#settings.hrm.compose_button = False
|
#settings.hrm.compose_button = False
|
||||||
# Uncomment to allow HR records to be deletable rather than just marking them as obsolete
|
# Uncomment to allow HR records to be deletable rather than just marking them as obsolete
|
||||||
#settings.hrm.deletable = True
|
settings.hrm.deletable = True
|
||||||
# Uncomment to hide Job Titles
|
# Uncomment to hide Job Titles
|
||||||
#settings.hrm.use_job_titles = False
|
#settings.hrm.use_job_titles = False
|
||||||
# Uncomment to allow HRs to have multiple Job Titles
|
# Uncomment to allow HRs to have multiple Job Titles
|
||||||
#settings.hrm.multiple_job_titles = True
|
settings.hrm.multiple_job_titles = True
|
||||||
# Uncomment to have each root Org use a different Job Title Catalog
|
# Uncomment to have each root Org use a different Job Title Catalog
|
||||||
#settings.hrm.org_dependent_job_titles = True
|
settings.hrm.org_dependent_job_titles = True
|
||||||
# Uncomment to hide the Staff resource
|
# Uncomment to hide the Staff resource
|
||||||
#settings.hrm.show_staff = False
|
#settings.hrm.show_staff = False
|
||||||
# Uncomment to have Staff use their Home Address as fallback if they have no Site defined
|
# Uncomment to have Staff use their Home Address as fallback if they have no Site defined
|
||||||
#settings.hrm.location_staff = ("site_id", "person_id")
|
settings.hrm.location_staff = ("site_id", "person_id")
|
||||||
# Uncomment to have Volunteers use their Site Address as fallback if they have no Home Address defined
|
# Uncomment to have Volunteers use their Site Address as fallback if they have no Home Address defined
|
||||||
#settings.hrm.location_vol = ("person_id", "site_id")
|
settings.hrm.location_vol = ("person_id", "site_id")
|
||||||
# Uncomment this to allow multiple site contacts per site (e.g. if needing a separate contact per sector)
|
# Uncomment this to allow multiple site contacts per site (e.g. if needing a separate contact per sector)
|
||||||
#settings.hrm.site_contact_unique = False
|
settings.hrm.site_contact_unique = False
|
||||||
# Uncomment to allow hierarchical categories of Skills, which each need their own set of competency levels.
|
# Uncomment to allow hierarchical categories of Skills, which each need their own set of competency levels.
|
||||||
#settings.hrm.skill_types = True
|
settings.hrm.skill_types = True
|
||||||
# Uncomment to disable Staff experience
|
# Uncomment to disable Staff experience
|
||||||
#settings.hrm.staff_experience = False
|
#settings.hrm.staff_experience = False
|
||||||
# Uncomment to enable Volunteer 'active' field
|
# Uncomment to enable Volunteer 'active' field
|
||||||
# - can also be made a function which is called to calculate the status based on recorded hours
|
# - can also be made a function which is called to calculate the status based on recorded hours
|
||||||
# Custom label for Organisations in HR module
|
# Custom label for Organisations in HR module
|
||||||
#settings.hrm.organisation_label = "Organization / Branch"
|
settings.hrm.organisation_label = "Organization / Branch"
|
||||||
# Custom label for Top-level Organisations in HR module
|
# Custom label for Top-level Organisations in HR module
|
||||||
#settings.hrm.root_organisation_label = "Organization"
|
settings.hrm.root_organisation_label = "Organization"
|
||||||
#settings.hrm.vol_active = True
|
settings.hrm.vol_active = True
|
||||||
# Uncomment to define a Tooltip to show when viewing the Volunteer 'active' field
|
# Uncomment to define a Tooltip to show when viewing the Volunteer 'active' field
|
||||||
#settings.hrm.vol_active_tooltip = "A volunteer is defined as active if they've participated in an average of 8 or more hours of Program work or Trainings per month in the last year"
|
settings.hrm.vol_active_tooltip = "A volunteer is defined as active if they've participated in an average of 8 or more hours of Program work or Trainings per month in the last year"
|
||||||
# Uncomment to disable Volunteer experience
|
# Uncomment to disable Volunteer experience
|
||||||
#settings.hrm.vol_experience = False
|
#settings.hrm.vol_experience = False
|
||||||
# Uncomment to show the Organisation name in HR represents
|
# Uncomment to show the Organisation name in HR represents
|
||||||
#settings.hrm.show_organisation = True
|
settings.hrm.show_organisation = True
|
||||||
# Uncomment to consolidate tabs into a single CV
|
# Uncomment to consolidate tabs into a single CV
|
||||||
#settings.hrm.cv_tab = True
|
#settings.hrm.cv_tab = True
|
||||||
# Uncomment to consolidate tabs into Staff Record (set to False to hide the tab)
|
# Uncomment to consolidate tabs into Staff Record (set to False to hide the tab)
|
||||||
@ -738,7 +713,7 @@ def config(settings):
|
|||||||
# Uncomment to auto-create certificates for courses
|
# Uncomment to auto-create certificates for courses
|
||||||
#settings.hrm.create_certificates_from_courses = True
|
#settings.hrm.create_certificates_from_courses = True
|
||||||
# Uncomment to enable the use of Staff/Volunteer IDs
|
# Uncomment to enable the use of Staff/Volunteer IDs
|
||||||
#settings.hrm.use_code = True
|
settings.hrm.use_code = True
|
||||||
# Uncomment to disable the use of HR Credentials
|
# Uncomment to disable the use of HR Credentials
|
||||||
#settings.hrm.use_credentials = False
|
#settings.hrm.use_credentials = False
|
||||||
# Uncomment to disable the use of HR Description
|
# Uncomment to disable the use of HR Description
|
||||||
@ -762,7 +737,7 @@ def config(settings):
|
|||||||
# Uncomment this to modify the training filter to be AND not OR
|
# Uncomment this to modify the training filter to be AND not OR
|
||||||
#settings.hrm.training_filter_and = True
|
#settings.hrm.training_filter_and = True
|
||||||
# Uncomment this to have Pass marks defined by Course
|
# Uncomment this to have Pass marks defined by Course
|
||||||
#settings.hrm.course_pass_marks = True
|
settings.hrm.course_pass_marks = True
|
||||||
# Uncomment to use activity types in experience record, specify as {"code":"label", ...}
|
# Uncomment to use activity types in experience record, specify as {"code":"label", ...}
|
||||||
#settings.hrm.activity_types = {"rdrt": "RDRT Mission"}
|
#settings.hrm.activity_types = {"rdrt": "RDRT Mission"}
|
||||||
|
|
||||||
@ -774,23 +749,23 @@ def config(settings):
|
|||||||
# Uncomment if you need a simpler (but less accountable) process for managing stock levels
|
# Uncomment if you need a simpler (but less accountable) process for managing stock levels
|
||||||
#settings.inv.direct_stock_edits = True
|
#settings.inv.direct_stock_edits = True
|
||||||
# Uncomment to have Warehouse Types be Organisation-dependent
|
# Uncomment to have Warehouse Types be Organisation-dependent
|
||||||
#settings.inv.org_dependent_warehouse_types = True
|
settings.inv.org_dependent_warehouse_types = True
|
||||||
# Uncomment to call Stock Adjustments, 'Stock Counts'
|
# Uncomment to call Stock Adjustments, 'Stock Counts'
|
||||||
#settings.inv.stock_count = True
|
settings.inv.stock_count = True
|
||||||
# Use the term 'Order' instead of 'Shipment'
|
# Use the term 'Order' instead of 'Shipment'
|
||||||
#settings.inv.shipment_name = "order"
|
settings.inv.shipment_name = "order"
|
||||||
# Uncomment to validate for Unique Warehouse Codes
|
# Uncomment to validate for Unique Warehouse Codes
|
||||||
#settings.inv.warehouse_code_unique = True
|
#settings.inv.warehouse_code_unique = True
|
||||||
# Uncomment to not track pack values
|
# Uncomment to not track pack values
|
||||||
#settings.inv.track_pack_values = False
|
#settings.inv.track_pack_values = False
|
||||||
#settings.inv.show_mode_of_transport = True
|
settings.inv.show_mode_of_transport = True
|
||||||
#settings.inv.send_show_org = False
|
settings.inv.send_show_org = False
|
||||||
#settings.inv.send_show_time_in = True
|
settings.inv.send_show_time_in = True
|
||||||
#settings.inv.send_form_name = "Tally Out Sheet"
|
settings.inv.send_form_name = "Tally Out Sheet"
|
||||||
#settings.inv.send_short_name = "TO"
|
settings.inv.send_short_name = "TO"
|
||||||
#settings.inv.send_ref_field_name = "Tally Out Number"
|
settings.inv.send_ref_field_name = "Tally Out Number"
|
||||||
#settings.inv.recv_form_name = "Acknowledgement Receipt for Donations Received Form"
|
settings.inv.recv_form_name = "Acknowledgement Receipt for Donations Received Form"
|
||||||
#settings.inv.recv_shortname = "ARDR"
|
settings.inv.recv_shortname = "ARDR"
|
||||||
# Types common to both Send and Receive
|
# Types common to both Send and Receive
|
||||||
#settings.inv.shipment_types = {
|
#settings.inv.shipment_types = {
|
||||||
# 0: T("-"),
|
# 0: T("-"),
|
||||||
@ -848,7 +823,7 @@ def config(settings):
|
|||||||
# Uncomment to disable the Commit step in the workflow & simply move direct to Ship
|
# Uncomment to disable the Commit step in the workflow & simply move direct to Ship
|
||||||
#settings.req.use_commit = False
|
#settings.req.use_commit = False
|
||||||
# Uncomment to have Donations include a 'Value' field
|
# Uncomment to have Donations include a 'Value' field
|
||||||
#settings.req.commit_value = True
|
settings.req.commit_value = True
|
||||||
# Uncomment to allow Donations to be made without a matching Request
|
# Uncomment to allow Donations to be made without a matching Request
|
||||||
#settings.req.commit_without_request = True
|
#settings.req.commit_without_request = True
|
||||||
# Uncomment to Commit Named People rather than simply Anonymous Skills
|
# Uncomment to Commit Named People rather than simply Anonymous Skills
|
||||||
@ -858,7 +833,7 @@ def config(settings):
|
|||||||
# Should Requests ask whether Security is required?
|
# Should Requests ask whether Security is required?
|
||||||
#settings.req.ask_security = True
|
#settings.req.ask_security = True
|
||||||
# Should Requests ask whether Transportation is required?
|
# Should Requests ask whether Transportation is required?
|
||||||
#settings.req.ask_transport = True
|
settings.req.ask_transport = True
|
||||||
#settings.req.use_req_number = False
|
#settings.req.use_req_number = False
|
||||||
#settings.req.generate_req_number = False
|
#settings.req.generate_req_number = False
|
||||||
#settings.req.req_form_name = "Request Issue Form"
|
#settings.req.req_form_name = "Request Issue Form"
|
||||||
@ -868,38 +843,38 @@ def config(settings):
|
|||||||
# all types will be valid.
|
# all types will be valid.
|
||||||
#settings.req.req_type = ("Stock",)
|
#settings.req.req_type = ("Stock",)
|
||||||
# Uncomment to enable Summary 'Site Needs' tab for Offices/Facilities
|
# Uncomment to enable Summary 'Site Needs' tab for Offices/Facilities
|
||||||
#settings.req.summary = True
|
settings.req.summary = True
|
||||||
# Uncomment to restrict adding new commits to Completed commits
|
# Uncomment to restrict adding new commits to Completed commits
|
||||||
#settings.req.req_restrict_on_complete = True
|
#settings.req.req_restrict_on_complete = True
|
||||||
|
|
||||||
# Custom Crud Strings for specific req_req types
|
# Custom Crud Strings for specific req_req types
|
||||||
#settings.req.req_crud_strings = dict()
|
settings.req.req_crud_strings = dict()
|
||||||
#ADD_ITEM_REQUEST = T("Make a Request for Donations")
|
ADD_ITEM_REQUEST = T("Make a Request for Donations")
|
||||||
# req_req Crud Strings for Item Request (type=1)
|
# req_req Crud Strings for Item Request (type=1)
|
||||||
#settings.req.req_crud_strings[1] = Storage(
|
settings.req.req_crud_strings[1] = Storage(
|
||||||
# label_create = ADD_ITEM_REQUEST,
|
label_create = ADD_ITEM_REQUEST,
|
||||||
# title_display = T("Request for Donations Details"),
|
title_display = T("Request for Donations Details"),
|
||||||
# title_list = T("Requests for Donations"),
|
title_list = T("Requests for Donations"),
|
||||||
# title_update = T("Edit Request for Donations"),
|
title_update = T("Edit Request for Donations"),
|
||||||
# label_list_button = T("List Requests for Donations"),
|
label_list_button = T("List Requests for Donations"),
|
||||||
# label_delete_button = T("Delete Request for Donations"),
|
label_delete_button = T("Delete Request for Donations"),
|
||||||
# msg_record_created = T("Request for Donations Added"),
|
msg_record_created = T("Request for Donations Added"),
|
||||||
# msg_record_modified = T("Request for Donations Updated"),
|
msg_record_modified = T("Request for Donations Updated"),
|
||||||
# msg_record_deleted = T("Request for Donations Canceled"),
|
msg_record_deleted = T("Request for Donations Canceled"),
|
||||||
# msg_list_empty = T("No Requests for Donations"))
|
msg_list_empty = T("No Requests for Donations"))
|
||||||
#ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers")
|
ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers")
|
||||||
# req_req Crud Strings for People Request (type=3)
|
# req_req Crud Strings for People Request (type=3)
|
||||||
#settings.req.req_crud_strings[3] = Storage(
|
settings.req.req_crud_strings[3] = Storage(
|
||||||
# label_create = ADD_PEOPLE_REQUEST,
|
label_create = ADD_PEOPLE_REQUEST,
|
||||||
# title_display = T("Request for Volunteers Details"),
|
title_display = T("Request for Volunteers Details"),
|
||||||
# title_list = T("Requests for Volunteers"),
|
title_list = T("Requests for Volunteers"),
|
||||||
# title_update = T("Edit Request for Volunteers"),
|
title_update = T("Edit Request for Volunteers"),
|
||||||
# label_list_button = T("List Requests for Volunteers"),
|
label_list_button = T("List Requests for Volunteers"),
|
||||||
# label_delete_button = T("Delete Request for Volunteers"),
|
label_delete_button = T("Delete Request for Volunteers"),
|
||||||
# msg_record_created = T("Request for Volunteers Added"),
|
msg_record_created = T("Request for Volunteers Added"),
|
||||||
# msg_record_modified = T("Request for Volunteers Updated"),
|
msg_record_modified = T("Request for Volunteers Updated"),
|
||||||
# msg_record_deleted = T("Request for Volunteers Canceled"),
|
msg_record_deleted = T("Request for Volunteers Canceled"),
|
||||||
# msg_list_empty = T("No Requests for Volunteers"))
|
msg_list_empty = T("No Requests for Volunteers"))
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Supply
|
# Supply
|
||||||
@ -910,19 +885,19 @@ def config(settings):
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Projects
|
# Projects
|
||||||
# Uncomment this to use settings suitable for a global/regional organisation (e.g. DRR)
|
# Uncomment this to use settings suitable for a global/regional organisation (e.g. DRR)
|
||||||
#settings.project.mode_3w = True
|
settings.project.mode_3w = True
|
||||||
# Uncomment this to use DRR (Disaster Risk Reduction) extensions
|
# Uncomment this to use DRR (Disaster Risk Reduction) extensions
|
||||||
#settings.project.mode_drr = True
|
settings.project.mode_drr = True
|
||||||
# Uncomment this to use settings suitable for detailed Task management
|
# Uncomment this to use settings suitable for detailed Task management
|
||||||
#settings.project.mode_task = True
|
settings.project.mode_task = True
|
||||||
# Uncomment this to use link Projects to Events
|
# Uncomment this to use link Projects to Events
|
||||||
#settings.project.event_projects = True
|
settings.project.event_projects = True
|
||||||
# Uncomment this to use Activities for Projects & Tasks
|
# Uncomment this to use Activities for Projects & Tasks
|
||||||
#settings.project.activities = True
|
settings.project.activities = True
|
||||||
# Uncomment this to use link Activities to Events
|
# Uncomment this to use link Activities to Events
|
||||||
#settings.project.event_activities = True
|
settings.project.event_activities = True
|
||||||
# Uncomment this to use Activity Types for Activities & Projects
|
# Uncomment this to use Activity Types for Activities & Projects
|
||||||
#settings.project.activity_types = True
|
settings.project.activity_types = True
|
||||||
# Uncomment this to filter dates in Activities
|
# Uncomment this to filter dates in Activities
|
||||||
#settings.project.activity_filter_year = True
|
#settings.project.activity_filter_year = True
|
||||||
# Uncomment this to use Codes for projects
|
# Uncomment this to use Codes for projects
|
||||||
@ -930,31 +905,31 @@ def config(settings):
|
|||||||
# Uncomment this to call project locations 'Communities'
|
# Uncomment this to call project locations 'Communities'
|
||||||
#settings.project.community = True
|
#settings.project.community = True
|
||||||
# Uncomment this to enable Demographics in 3W projects
|
# Uncomment this to enable Demographics in 3W projects
|
||||||
#settings.project.demographics = True
|
settings.project.demographics = True
|
||||||
# Uncomment this to enable Hazards in 3W projects
|
# Uncomment this to enable Hazards in 3W projects
|
||||||
#settings.project.hazards = True
|
settings.project.hazards = True
|
||||||
# Uncomment this to enable Indicators in projects
|
# Uncomment this to enable Indicators in projects
|
||||||
#settings.project.indicators = True
|
settings.project.indicators = True
|
||||||
# Uncomment this to enable Milestones in projects
|
# Uncomment this to enable Milestones in projects
|
||||||
#settings.project.milestones = True
|
settings.project.milestones = True
|
||||||
# Uncomment this to use Projects for Activities & Tasks
|
# Uncomment this to use Projects for Activities & Tasks
|
||||||
#settings.project.projects = True
|
settings.project.projects = True
|
||||||
# Uncomment this to disable Sectors in projects
|
# Uncomment this to disable Sectors in projects
|
||||||
#settings.project.sectors = False
|
#settings.project.sectors = False
|
||||||
# Uncomment this to enable Programmes in projects
|
# Uncomment this to enable Programmes in projects
|
||||||
#settings.project.programmes = True
|
settings.project.programmes = True
|
||||||
# Uncomment this to enable Budgets in Programmes
|
# Uncomment this to enable Budgets in Programmes
|
||||||
#settings.project.programme_budget = True
|
settings.project.programme_budget = True
|
||||||
# Uncomment this to use Tags in Tasks
|
# Uncomment this to use Tags in Tasks
|
||||||
#settings.project.task_tag = True
|
settings.project.task_tag = True
|
||||||
# Uncomment this to enable Themes in 3W projects
|
# Uncomment this to enable Themes in 3W projects
|
||||||
#settings.project.themes = True
|
settings.project.themes = True
|
||||||
# Uncomment this to use Theme Percentages for projects
|
# Uncomment this to use Theme Percentages for projects
|
||||||
#settings.project.theme_percentages = True
|
settings.project.theme_percentages = True
|
||||||
# Uncomment this to use multiple Budgets per project
|
# Uncomment this to use multiple Budgets per project
|
||||||
#settings.project.multiple_budgets = True
|
settings.project.multiple_budgets = True
|
||||||
# Uncomment this to use multiple Organisations per project
|
# Uncomment this to use multiple Organisations per project
|
||||||
#settings.project.multiple_organisations = True
|
settings.project.multiple_organisations = True
|
||||||
# Uncomment this to customise
|
# Uncomment this to customise
|
||||||
# Links to Filtered Components for Donors & Partners
|
# Links to Filtered Components for Donors & Partners
|
||||||
#settings.project.organisation_roles = {
|
#settings.project.organisation_roles = {
|
||||||
@ -1074,7 +1049,7 @@ def config(settings):
|
|||||||
#description = "Central point to record details on People",
|
#description = "Central point to record details on People",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
access = "|1|", # Only Administrators can see this module in the default menu (access to controller is possible to all still)
|
access = "|1|", # Only Administrators can see this module in the default menu (access to controller is possible to all still)
|
||||||
module_type = 10
|
module_type = 9
|
||||||
)),
|
)),
|
||||||
("org", Storage(
|
("org", Storage(
|
||||||
name_nice = T("Organizations"),
|
name_nice = T("Organizations"),
|
||||||
@ -1099,13 +1074,13 @@ def config(settings):
|
|||||||
name_nice = T("Content Management"),
|
name_nice = T("Content Management"),
|
||||||
#description = "Content Management System",
|
#description = "Content Management System",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10,
|
module_type = 9,
|
||||||
)),
|
)),
|
||||||
("doc", Storage(
|
("doc", Storage(
|
||||||
name_nice = T("Documents"),
|
name_nice = T("Documents"),
|
||||||
#description = "A library of digital resources, such as photos, documents and reports",
|
#description = "A library of digital resources, such as photos, documents and reports",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10,
|
module_type = 9,
|
||||||
)),
|
)),
|
||||||
("msg", Storage(
|
("msg", Storage(
|
||||||
name_nice = T("Messaging"),
|
name_nice = T("Messaging"),
|
||||||
@ -1143,13 +1118,13 @@ def config(settings):
|
|||||||
name_nice = T("Vehicles"),
|
name_nice = T("Vehicles"),
|
||||||
#description = "Manage Vehicles",
|
#description = "Manage Vehicles",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10,
|
module_type = 9,
|
||||||
)),
|
)),
|
||||||
("req", Storage(
|
("req", Storage(
|
||||||
name_nice = T("Requests"),
|
name_nice = T("Requests"),
|
||||||
#description = "Manage requests for supplies, assets, staff or other resources. Matches against Inventories where supplies are requested.",
|
#description = "Manage requests for supplies, assets, staff or other resources. Matches against Inventories where supplies are requested.",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10,
|
module_type = 9,
|
||||||
)),
|
)),
|
||||||
("project", Storage(
|
("project", Storage(
|
||||||
name_nice = T("Projects"),
|
name_nice = T("Projects"),
|
||||||
@ -1173,13 +1148,13 @@ def config(settings):
|
|||||||
name_nice = T("Shelters"),
|
name_nice = T("Shelters"),
|
||||||
#description = "Tracks the location, capacity and breakdown of victims in Shelters",
|
#description = "Tracks the location, capacity and breakdown of victims in Shelters",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10
|
module_type = 9
|
||||||
)),
|
)),
|
||||||
("hms", Storage(
|
("hms", Storage(
|
||||||
name_nice = T("Hospitals"),
|
name_nice = T("Hospitals"),
|
||||||
#description = "Helps to monitor status of hospitals",
|
#description = "Helps to monitor status of hospitals",
|
||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10
|
module_type = 9
|
||||||
)),
|
)),
|
||||||
#("disease", Storage(
|
#("disease", Storage(
|
||||||
# name_nice = T("Disease Tracking"),
|
# name_nice = T("Disease Tracking"),
|
||||||
@ -1222,12 +1197,12 @@ def config(settings):
|
|||||||
restricted = True,
|
restricted = True,
|
||||||
module_type = 10
|
module_type = 10
|
||||||
)),
|
)),
|
||||||
#("deploy", Storage(
|
("deploy", Storage(
|
||||||
# name_nice = T("Deployments"),
|
name_nice = T("Deployments"),
|
||||||
# #description = "Manage Deployments",
|
#description = "Manage Deployments",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
# Deprecated: Replaced by event
|
# Deprecated: Replaced by event
|
||||||
#("irs", Storage(
|
#("irs", Storage(
|
||||||
# name_nice = T("Incidents"),
|
# name_nice = T("Incidents"),
|
||||||
@ -1235,74 +1210,74 @@ def config(settings):
|
|||||||
# restricted = True,
|
# restricted = True,
|
||||||
# module_type = 10
|
# module_type = 10
|
||||||
#)),
|
#)),
|
||||||
#("dvi", Storage(
|
("dvi", Storage(
|
||||||
# name_nice = T("Disaster Victim Identification"),
|
name_nice = T("Disaster Victim Identification"),
|
||||||
# #description = "Disaster Victim Identification",
|
#description = "Disaster Victim Identification",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
# #access = "|DVI|", # Only users with the DVI role can see this module in the default menu & access the controller
|
#access = "|DVI|", # Only users with the DVI role can see this module in the default menu & access the controller
|
||||||
#)),
|
)),
|
||||||
#("edu", Storage(
|
("edu", Storage(
|
||||||
# name_nice = T("Schools"),
|
name_nice = T("Schools"),
|
||||||
# #description = "Helps to monitor status of schools",
|
#description = "Helps to monitor status of schools",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10
|
module_type = 10
|
||||||
#)),
|
)),
|
||||||
#("mpr", Storage(
|
("mpr", Storage(
|
||||||
# name_nice = T("Missing Person Registry"),
|
name_nice = T("Missing Person Registry"),
|
||||||
# #description = "Helps to report and search for missing persons",
|
#description = "Helps to report and search for missing persons",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
#("scenario", Storage(
|
("scenario", Storage(
|
||||||
# name_nice = T("Scenarios"),
|
name_nice = T("Scenarios"),
|
||||||
# #description = "Define Scenarios for allocation of appropriate Resources (Human, Assets & Facilities).",
|
#description = "Define Scenarios for allocation of appropriate Resources (Human, Assets & Facilities).",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
#("vulnerability", Storage(
|
("vulnerability", Storage(
|
||||||
# name_nice = T("Vulnerability"),
|
name_nice = T("Vulnerability"),
|
||||||
# #description = "Manages vulnerability indicators",
|
#description = "Manages vulnerability indicators",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
# )),
|
)),
|
||||||
#("fire", Storage(
|
("fire", Storage(
|
||||||
# name_nice = T("Fire Stations"),
|
name_nice = T("Fire Stations"),
|
||||||
# #description = "Fire Station Management",
|
#description = "Fire Station Management",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 1,
|
module_type = 1,
|
||||||
#)),
|
)),
|
||||||
#("water", Storage(
|
("water", Storage(
|
||||||
# name_nice = T("Water"),
|
name_nice = T("Water"),
|
||||||
# #description = "Flood Gauges show water levels in various parts of the country",
|
#description = "Flood Gauges show water levels in various parts of the country",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10
|
module_type = 10
|
||||||
#)),
|
)),
|
||||||
#("patient", Storage(
|
("patient", Storage(
|
||||||
# name_nice = T("Patient Tracking"),
|
name_nice = T("Patient Tracking"),
|
||||||
# #description = "Tracking of Patients",
|
#description = "Tracking of Patients",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10
|
module_type = 10
|
||||||
#)),
|
)),
|
||||||
#("po", Storage(
|
("po", Storage(
|
||||||
# name_nice = T("Population Outreach"),
|
name_nice = T("Population Outreach"),
|
||||||
# #description = "Population Outreach",
|
#description = "Population Outreach",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10
|
module_type = 10
|
||||||
#)),
|
)),
|
||||||
#("security", Storage(
|
("security", Storage(
|
||||||
# name_nice = T("Security"),
|
name_nice = T("Security"),
|
||||||
# #description = "Security Management System",
|
#description = "Security Management System",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
# These are specialist modules
|
# These are specialist modules
|
||||||
#("cap", Storage(
|
("cap", Storage(
|
||||||
# name_nice = T("CAP"),
|
name_nice = T("CAP"),
|
||||||
# #description = "Create & broadcast CAP alerts",
|
#description = "Create & broadcast CAP alerts",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
# Requires RPy2 & PostgreSQL
|
# Requires RPy2 & PostgreSQL
|
||||||
#("climate", Storage(
|
#("climate", Storage(
|
||||||
# name_nice = T("Climate"),
|
# name_nice = T("Climate"),
|
||||||
@ -1310,12 +1285,12 @@ def config(settings):
|
|||||||
# restricted = True,
|
# restricted = True,
|
||||||
# module_type = 10,
|
# module_type = 10,
|
||||||
#)),
|
#)),
|
||||||
#("delphi", Storage(
|
("delphi", Storage(
|
||||||
# name_nice = T("Delphi Decision Maker"),
|
name_nice = T("Delphi Decision Maker"),
|
||||||
# #description = "Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list.",
|
#description = "Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list.",
|
||||||
# restricted = False,
|
restricted = False,
|
||||||
# module_type = 10,
|
module_type = 10,
|
||||||
#)),
|
)),
|
||||||
# @ToDo: Port these Assessments to the Survey module
|
# @ToDo: Port these Assessments to the Survey module
|
||||||
#("building", Storage(
|
#("building", Storage(
|
||||||
# name_nice = T("Building Assessments"),
|
# name_nice = T("Building Assessments"),
|
||||||
@ -1331,24 +1306,24 @@ def config(settings):
|
|||||||
# restricted = True,
|
# restricted = True,
|
||||||
# module_type = 10,
|
# module_type = 10,
|
||||||
#)),
|
#)),
|
||||||
#("impact", Storage(
|
("impact", Storage(
|
||||||
# name_nice = T("Impacts"),
|
name_nice = T("Impacts"),
|
||||||
# #description = "Used by Assess",
|
#description = "Used by Assess",
|
||||||
# restricted = True,
|
restricted = True,
|
||||||
# module_type = None,
|
module_type = None,
|
||||||
#)),
|
)),
|
||||||
#("ocr", Storage(
|
("ocr", Storage(
|
||||||
# name_nice = T("Optical Character Recognition"),
|
name_nice = T("Optical Character Recognition"),
|
||||||
# #description = "Optical Character Recognition for reading the scanned handwritten paper forms.",
|
#description = "Optical Character Recognition for reading the scanned handwritten paper forms.",
|
||||||
# restricted = False,
|
restricted = False,
|
||||||
# module_type = None,
|
module_type = None,
|
||||||
#)),
|
)),
|
||||||
#("work", Storage(
|
("work", Storage(
|
||||||
# name_nice = T("Jobs"),
|
name_nice = T("Jobs"),
|
||||||
# #description = "Simple Volunteer Jobs Management",
|
#description = "Simple Volunteer Jobs Management",
|
||||||
# restricted = False,
|
restricted = False,
|
||||||
# module_type = None,
|
module_type = None,
|
||||||
#)),
|
)),
|
||||||
])
|
])
|
||||||
|
|
||||||
# END =========================================================================
|
# END =========================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user