diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-02-19 15:49:22 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-02-19 15:49:22 +0100 |
| commit | 909a40560013f330c9b1b35669be44ce7a061860 (patch) | |
| tree | fc58d115be100d2c88f4c4243f2acea09e42c465 /archaeological_operations/models.py | |
| parent | b53f94278d1fb6e919031cc9796e6349ed7a1fc1 (diff) | |
| download | Ishtar-909a40560013f330c9b1b35669be44ce7a061860.tar.bz2 Ishtar-909a40560013f330c9b1b35669be44ce7a061860.zip | |
🐛 operation/file document templates: fix towns values (refs #6625)
Diffstat (limited to 'archaeological_operations/models.py')
| -rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index d65f1b7bc..a976e427f 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1043,7 +1043,7 @@ def get_values_town_related(item, prefix, values, filtr=None): get_towns_code = not filtr or prefix + "towns_code" in filtr get_dpt = not filtr or prefix + "departments" in filtr get_dpt_nb = not filtr or prefix + "departments_number" in filtr - if not get_towns and not get_dpt and not get_dpt_nb or not get_towns_code: + if not get_towns and not get_dpt and not get_dpt_nb and not get_towns_code: return values if get_towns: values[prefix + "towns"] = "" |
