diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 8fb6df3ac..4078b5840 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2087,6 +2087,13 @@ 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.")) +    document_external_id = models.TextField( +        _(u"Document external id"), +        default=u"{index}", +        help_text=_(u"Formula to manage document 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=u"{name|upper} {surname}", @@ -3754,7 +3761,7 @@ post_save.connect(post_save_cache, sender=LicenseType)  post_delete.connect(post_save_cache, sender=LicenseType) -class Document(OwnPerms, ImageModel, FullSearch, Imported): +class Document(BaseHistorizedItem, OwnPerms, ImageModel):      # order is important: put the image in the first match found      # other will be symbolic links      RELATED_MODELS = [ | 
