From b491cbf152789c6d9fc961ac877be4516eb46748 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 27 Jan 2017 18:05:44 +0100 Subject: Fix data migration for warehouse - fix default external id formula for containers --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 0da937f1a..604c6923c 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1106,7 +1106,7 @@ class IshtarSiteProfile(models.Model, Cached): u"data can be destructive.")) container_external_id = models.TextField( _(u"Container external id"), - default="{responsible__external_id-index", + default="{responsible__external_id}-{index}", help_text=_(u"Formula to manage container external ID. " u"Change this with care. With incorrect formula, the " u"application might be unusable and import of external " -- cgit v1.2.3