diff options
Diffstat (limited to 'ishtar_common/models_common.py')
| -rw-r--r-- | ishtar_common/models_common.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 9c081a022..ddf5d46d5 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -3302,9 +3302,10 @@ class MainItem(ShortMenuItem, SerializeItem, SheetItem):          self._cached_label_checked = False          cached_label_changed(self.__class__, instance=self, created=False) -    def post_save_geo(self): +    def post_save_geo(self, save=True): +        if getattr(self, "_post_saved_geo", False): +            return          self.no_post_process() -        self._post_saved_geo = False          post_save_geo(self.__class__, instance=self, created=False)          return False | 
