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 | af04b1ecfc22f8c104f6f960c26086c4284e9777 (patch) | |
tree | 5232bf428003effb1dcad3b23c3d49a976c39894 /ishtar_common/models.py | |
parent | 931092752a4db520becea7815e0d1e205b0a921e (diff) | |
download | Ishtar-af04b1ecfc22f8c104f6f960c26086c4284e9777.tar.bz2 Ishtar-af04b1ecfc22f8c104f6f960c26086c4284e9777.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 " |