diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-26 20:45:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-27 10:59:30 +0200 |
commit | 66f6d4951bc7cd801757feca3b4a403ebedb2d64 (patch) | |
tree | 09ffe42906a9a6492a102efd0240aaaf93bd8943 /archaeological_operations | |
parent | 42b0ad69ed32fb72787e3bcdd0400ec7e2eb9156 (diff) | |
download | Ishtar-66f6d4951bc7cd801757feca3b4a403ebedb2d64.tar.bz2 Ishtar-66f6d4951bc7cd801757feca3b4a403ebedb2d64.zip |
⚡️ imports: performance optimisations
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index cadb806dc..b7b955b80 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2665,6 +2665,8 @@ def operation_post_save(sender, **kwargs): operation.fnap_financing = fnap_percent operation.save() cached_label_changed(sender, **kwargs) + if getattr(operation, "_no_down_model_update", None): + return if operation.associated_file: operation.associated_file.update_short_menu_class() # manage parcel association |