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 16:48:50 +0100 |
| commit | f89011487abef4a8c6f89f8589db4b145137065d (patch) | |
| tree | 8da352a88a1c000558a862b779d26c88e0ba4141 /archaeological_operations | |
| parent | 87c6c7caba940c1ca88031301caebc4c22ff5738 (diff) | |
| download | Ishtar-f89011487abef4a8c6f89f8589db4b145137065d.tar.bz2 Ishtar-f89011487abef4a8c6f89f8589db4b145137065d.zip | |
🐛 operation/file document templates: fix towns values (refs #6625)
Diffstat (limited to 'archaeological_operations')
| -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 a17e5a537..f0fa9c325 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1054,7 +1054,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"] = "" |
