diff options
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:01:41 +0200 |
commit | 48bfd85f66e4047bee767f1df6d41bdb6aae2ef3 (patch) | |
tree | cf783dc14e364f5c391f612289c0d56fd992acc9 /ishtar_common/models_common.py | |
parent | 9cebc9753a9c7c8bda14b48ab6ff292d9b06afae (diff) | |
download | Ishtar-48bfd85f66e4047bee767f1df6d41bdb6aae2ef3.tar.bz2 Ishtar-48bfd85f66e4047bee767f1df6d41bdb6aae2ef3.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.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 19d04ea17..7f7df4bfc 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -3531,6 +3531,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 |