diff options
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 |
commit | 11390d9e5517d338788aa23fe048d39df962a42c (patch) | |
tree | 7a64c075b68d848cbae91b28e6089223247a3c45 /ishtar_common/models.py | |
parent | 90c5f10d2de7a1309a8c7d676cc21b019a504630 (diff) | |
download | Ishtar-11390d9e5517d338788aa23fe048d39df962a42c.tar.bz2 Ishtar-11390d9e5517d338788aa23fe048d39df962a42c.zip |
Geo: warehouse and container localization are optionnal
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 7 |
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) |