summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-12-07 14:40:27 +0000
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:49 +0200
commit40248b8256fab26f30bc486d72a74db0f0bd632b (patch)
tree0090168a99f8861c60e02eb62a0eb6af0069d711
parent9ec38d01e5abb52326e2cdc0ae65a6b32229d079 (diff)
downloadIshtar-40248b8256fab26f30bc486d72a74db0f0bd632b.tar.bz2
Ishtar-40248b8256fab26f30bc486d72a74db0f0bd632b.zip
adding dimensions on initial fore treatmentN1 #4873
-rw-r--r--archaeological_finds/wizards.py18
1 files changed, 16 insertions, 2 deletions
diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py
index 83b0d6f37..0465792b7 100644
--- a/archaeological_finds/wizards.py
+++ b/archaeological_finds/wizards.py
@@ -308,9 +308,23 @@ class TreatmentN1Wizard(TreatmentBase):
return initial
simple_key = ["material_type_quality"]
multi_key = ["material_type", "object_type", "communicabilitie"]
- numeric_key = ["find_number", "min_number_of_individuals"]
+ numeric_key = [
+ "find_number",
+ "min_number_of_individuals",
+ "length",
+ "width",
+ "height",
+ "diameter",
+ "circumference",
+ "thickness",
+ "volume",
+ "weight",
+ "clutter_long_side",
+ "clutter_short_side",
+ "clutter_height"
+ ]
desc_key = ["decoration", "inscription", "comment", "dating_comment",
- "description"]
+ "description", "dimensions_comment"]
char_key = ["manufacturing_place"]
for k in simple_key + numeric_key + desc_key + char_key: