diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-04-07 12:36:55 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:20 +0100 |
commit | ffedddae0c27f165e9d839edc5421e415b491330 (patch) | |
tree | cc2d30385aebb2a7b6d3aebf8dbaa26134617bf0 /ishtar_common/models.py | |
parent | 0f96790ca2866d205b262c96ddb1b155abb80ef6 (diff) | |
download | Ishtar-ffedddae0c27f165e9d839edc5421e415b491330.tar.bz2 Ishtar-ffedddae0c27f165e9d839edc5421e415b491330.zip |
New container management: change ext id
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 4b4753fe3..38e5b2fb4 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2972,7 +2972,8 @@ class IshtarSiteProfile(models.Model, Cached): "data can be destructive.")) container_external_id = models.TextField( _("Container external id"), - default="{responsible__external_id}-{index}", + default="{parent_external_id}-{container_type__txt_idx}-" + "{reference}", help_text=_("Formula to manage container external ID. " "Change this with care. With incorrect formula, the " "application might be unusable and import of external " |