Update config.py
This commit is contained in:
parent
11ef883c0a
commit
e81e33df69
@ -139,6 +139,7 @@ def config(settings):
|
|||||||
languages = OrderedDict([
|
languages = OrderedDict([
|
||||||
("cs", "Czech"),
|
("cs", "Czech"),
|
||||||
("en", "English"),
|
("en", "English"),
|
||||||
|
("ua", "Ukraine"),
|
||||||
])
|
])
|
||||||
settings.L10n.languages = languages
|
settings.L10n.languages = languages
|
||||||
settings.cap.languages = languages
|
settings.cap.languages = languages
|
||||||
@ -194,6 +195,7 @@ def config(settings):
|
|||||||
"GBP" : "Great British Pounds",
|
"GBP" : "Great British Pounds",
|
||||||
"USD" : "United States Dollars",
|
"USD" : "United States Dollars",
|
||||||
"CHF" : "Switzerland Franc",
|
"CHF" : "Switzerland Franc",
|
||||||
|
"UAH" : "Ukrainian hryvnia",
|
||||||
}
|
}
|
||||||
settings.fin.currency_default = "CZK"
|
settings.fin.currency_default = "CZK"
|
||||||
#settings.fin.currency_writable = False # False currently breaks things
|
#settings.fin.currency_writable = False # False currently breaks things
|
||||||
@ -468,9 +470,9 @@ def config(settings):
|
|||||||
|
|
||||||
# --- Need Categories ---
|
# --- Need Categories ---
|
||||||
# Use hierarchical need categories
|
# Use hierarchical need categories
|
||||||
#settings.br.needs_hierarchical = True
|
settings.br.needs_hierarchical = True
|
||||||
# Let all orgs use a common set of need categories
|
# Let all orgs use a common set of need categories
|
||||||
#settings.br.needs_org_specific = False
|
settings.br.needs_org_specific = False
|
||||||
|
|
||||||
# --- Basic Case Options ---
|
# --- Basic Case Options ---
|
||||||
# Show the case organisation even if only one option
|
# Show the case organisation even if only one option
|
||||||
@ -609,9 +611,9 @@ def config(settings):
|
|||||||
# 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)
|
||||||
#settings.cr.shelter_inspection_task_active_statuses = (2, 3, 6)
|
settings.cr.shelter_inspection_task_active_statuses = (2, 3, 6)
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Events
|
# Events
|
||||||
@ -690,11 +692,11 @@ def config(settings):
|
|||||||
# 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"
|
||||||
@ -715,7 +717,7 @@ def config(settings):
|
|||||||
# 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 = 15
|
||||||
# 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
|
||||||
@ -931,7 +933,7 @@ def config(settings):
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Supply
|
# Supply
|
||||||
# Name of the Default Item Catalog. Do not edit after deployment
|
# Name of the Default Item Catalog. Do not edit after deployment
|
||||||
#settings.supply.catalog_default = "Default"
|
settings.supply.catalog_default = "Katalog"
|
||||||
# Disable the use of Multiple Item Catalogs
|
# Disable the use of Multiple Item Catalogs
|
||||||
#settings.supply.catalog_multi = False
|
#settings.supply.catalog_multi = False
|
||||||
# Disable the use of Alternative Items
|
# Disable the use of Alternative Items
|
||||||
|
Loading…
Reference in New Issue
Block a user