summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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}",