diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-01-23 17:42:34 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:56 +0100 |
commit | 0a9419ffefff9ba43ecb75d579deb958042f21d5 (patch) | |
tree | e42fd1e7cc30d86cea1acc903eb5a3f8b6d06c57 /ishtar_common/models.py | |
parent | cba538fc4dc3a2002c119933144375232c912cbb (diff) | |
download | Ishtar-0a9419ffefff9ba43ecb75d579deb958042f21d5.tar.bz2 Ishtar-0a9419ffefff9ba43ecb75d579deb958042f21d5.zip |
🗃️ treatments: other_reference -> reference - find_treatments : m2m imports links - ✨ Treatment: upstream_count property - change default find external ID with upstream count
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
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 " |