summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index d1d58f184..0da937f1a 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1104,6 +1104,20 @@ class IshtarSiteProfile(models.Model, Cached):
u"Change this with care. With incorrect formula, the "
u"application might be unusable and import of external "
u"data can be destructive."))
+ container_external_id = models.TextField(
+ _(u"Container external id"),
+ 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 "
+ u"data can be destructive."))
+ warehouse_external_id = models.TextField(
+ _(u"Warehouse external id"),
+ default="{name|slug}",
+ help_text=_(u"Formula to manage warehouse external ID. "
+ u"Change this with care. With incorrect formula, the "
+ u"application might be unusable and import of external "
+ u"data can be destructive."))
person_raw_name = models.TextField(
_(u"Raw name for person"),
default="{name|upper} {surname}",