summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-01-22 11:24:52 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-03-10 11:11:46 +0100
commit5311aea5f9b9bd0fbfb12e368560ddd5d150162b (patch)
tree4a4050af45b81a1de8b1a32b3f34016bf3499bb2 /ishtar_common/models.py
parentec65aff80a94fce6f74c4f89673abc579cc53310 (diff)
downloadIshtar-5311aea5f9b9bd0fbfb12e368560ddd5d150162b.tar.bz2
Ishtar-5311aea5f9b9bd0fbfb12e368560ddd5d150162b.zip
🚧 Statement condition: models
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 5e8107d17..40c69b753 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -271,6 +271,9 @@ post_save.connect(post_save_user, sender=User)
class ValueGetter:
+ """
+ Manage values for templates
+ """
_prefix = ""
COL_LABELS = {}
GET_VALUES_EXTRA = []
@@ -1466,6 +1469,22 @@ class IshtarSiteProfile(models.Model, Cached):
"Formula to manage cached label. If not set a default formula is used."
),
)
+ statementcondition_complete_identifier = models.TextField(
+ _("Statement of condition complete identifier"),
+ default="--TO BE DEFINED---",
+ help_text=_(
+ "Formula to manage statement of condition complete identifier."
+ ),
+ )
+ statementcondition_custom_index = models.TextField(
+ _("Statement of condition custom index key"),
+ default="",
+ blank=True,
+ help_text=_(
+ "Keys to be used to manage statement of condition custom index. "
+ "Separate keys with a semicolon."
+ ),
+ )
container_external_id = models.TextField(
_("Container external id"),
default="{parent_external_id}-{container_type__txt_idx}-" "{reference}",