diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-20 11:46:57 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-20 11:46:57 +0100 |
commit | 47f4eaa7509693e0a64ad3ee69b7a312df541127 (patch) | |
tree | 5232bf428003effb1dcad3b23c3d49a976c39894 /ishtar_common/models.py | |
parent | f5a0acf2638ce5bb31e1e9750f30fbc52cae1577 (diff) | |
download | Ishtar-47f4eaa7509693e0a64ad3ee69b7a312df541127.tar.bz2 Ishtar-47f4eaa7509693e0a64ad3ee69b7a312df541127.zip |
Warehouse: new slug field to prevent ID change when name is changed
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 fc2487d7b..5dc325e4e 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1349,7 +1349,7 @@ class IshtarSiteProfile(models.Model, Cached): ) warehouse_external_id = models.TextField( _("Warehouse external id"), - default="{name|slug}", + default="{slug}", help_text=_( "Formula to manage warehouse external ID. " "Change this with care. With incorrect formula, the " |