From cca4d80f6aaeaf056f6d63b5a369c3cc38a69978 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 9 Feb 2024 18:22:04 +0100 Subject: ✨ museum fields: forms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ebba1c034..5858fdb78 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1130,6 +1130,7 @@ class IshtarSiteProfile(models.Model, Cached): ) preservation = models.BooleanField(_("Preservation module"), default=False) mapping = models.BooleanField(_("Mapping module"), default=False) + museum = models.BooleanField(_("Museum module"), default=False, help_text=_("Need finds module")) point_precision = models.IntegerField( _("Point precision (search and sheets)"), null=True, @@ -1382,6 +1383,13 @@ class IshtarSiteProfile(models.Model, Cached): "Formula to manage cached label. If not set a default formula is used." ), ) + museum_complete_identifier = models.TextField( + _("Find - Complete museum ID"), + default="{{museum_id_prefix}}.{{museum_id}}.{{museum_id_suffix}}", + help_text=_( + "Formula to manage cached label. If not set a default formula is used." + ), + ) container_external_id = models.TextField( _("Container external id"), default="{parent_external_id}-{container_type__txt_idx}-" "{reference}", -- cgit v1.2.3