summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-07-31 13:01:41 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-07-31 13:04:19 +0200
commit8723715ffd39b8dbabafd24dac8a3149d7744c8b (patch)
tree23b03e9b858101cab6461c5996881ee4c7d70b46 /ishtar_common/models_common.py
parent13d9e094f56c9d2646d6aa4c09383df567eee5cb (diff)
downloadIshtar-8723715ffd39b8dbabafd24dac8a3149d7744c8b.tar.bz2
Ishtar-8723715ffd39b8dbabafd24dac8a3149d7744c8b.zip
🐛 import: force explicitly geo check on post treatments for complex associations
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index 79aa66953..89471972b 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -3374,6 +3374,16 @@ class MainItem(ShortMenuItem, SerializeItem, SheetItem):
self._cached_label_checked = False
cached_label_changed(self.__class__, instance=self, created=False)
+ def no_post_process(self, history=False):
+ if not history:
+ self.skip_history_when_saving = True
+ self._cached_label_checked = True
+ self._post_saved_geo = True
+ self._external_id_checked = True
+ self._search_updated = True
+ self._no_move = True
+ self._no_down_model_update = True
+
def post_save_geo(self, save=True):
if getattr(self, "_post_saved_geo", False):
return