summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-08 11:22:33 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-24 19:42:35 +0200
commitbc470e8759a77bb8ab150403232596598dcf3b4c (patch)
tree7a64c075b68d848cbae91b28e6089223247a3c45 /ishtar_common/models.py
parentdc5909e6545c9014c1b8676bed6a9c8927965cc7 (diff)
downloadIshtar-bc470e8759a77bb8ab150403232596598dcf3b4c.tar.bz2
Ishtar-bc470e8759a77bb8ab150403232596598dcf3b4c.zip
Geo: warehouse and container localization are optionnal
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 959c31a1f..9bcfd4930 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2375,6 +2375,13 @@ class IshtarSiteProfile(models.Model, Cached):
preservation = models.BooleanField(_(u"Preservation module"),
default=False)
mapping = models.BooleanField(_(u"Mapping module"), default=False)
+ locate_warehouses = models.BooleanField(
+ _(u"Locate warehouse and containers"), default=False,
+ help_text=_(
+ u"Mapping module must be activated. With many containers and "
+ u"background task not activated, activating this option may "
+ u"consume many resources.")
+ )
use_town_for_geo = models.BooleanField(
_(u"Use town to locate when coordinates are missing"), default=True)
underwater = models.BooleanField(_(u"Underwater module"), default=False)