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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index f49bd9560..6a4a0930e 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1636,6 +1636,9 @@ class BaseHistorizedItem(DocumentItem, FullSearch, Imported, JsonData,
def get_verbose_name(cls):
return cls._meta.verbose_name
+ def merge(self, item, keep_old=False):
+ merge_model_objects(self, item, keep_old=keep_old)
+
def update_external_id(self, save=False):
if not self.EXTERNAL_ID_KEY or (
self.external_id and