From 0a9419ffefff9ba43ecb75d579deb958042f21d5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 23 Jan 2025 17:42:34 +0100 Subject: 🗃️ treatments: other_reference -> reference - find_treatments : m2m imports links - ✨ Treatment: upstream_count property - change default find external ID with upstream count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') 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 " -- cgit v1.2.3