diff options
| -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 030676dcc..e04efbcab 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1508,7 +1508,8 @@ class BaseHistorizedItem(DocumentItem, FullSearch, Imported, JsonData,      def update_external_id(self, save=False):          if not self.EXTERNAL_ID_KEY or ( -                self.external_id and not self.auto_external_id): +                self.external_id and +                not getattr(self, 'auto_external_id', False)):              return          external_id = get_external_id(self.EXTERNAL_ID_KEY, self)          if external_id == self.external_id: | 
