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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 9197a67bf..5b4620254 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1388,7 +1388,7 @@ class IshtarSiteProfile(models.Model, Cached):
)
find_external_id = models.TextField(
_("Find external id"),
- default="{get_first_base_find__context_record__external_id}-{label}",
+ default="{{get_first_base_find__context_record__external_id}}-{{label}}{% if upstream_count %}-{{upstream_count}}{% endif %}",
help_text=_(
"Formula to manage find external ID. "
"Change this with care. With incorrect formula, the "