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-26 20:45:11 +0200 |
commit | 737587eda4391494b1c44caa5e21ad7c2ff9ef50 (patch) | |
tree | 5736c3f16c12f007e7961b88561d2364368b2276 /archaeological_operations/models.py | |
parent | aab08f0337002bb90a002e22153f9fd68e1dd61d (diff) | |
download | Ishtar-737587eda4391494b1c44caa5e21ad7c2ff9ef50.tar.bz2 Ishtar-737587eda4391494b1c44caa5e21ad7c2ff9ef50.zip |
⚡️ imports: performance optimisations
Diffstat (limited to 'archaeological_operations/models.py')
-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 3717ba9b9..cf0db7d19 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2583,6 +2583,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 |