From 1303ccd51e500e3764d5b0feccd23c9af3b572e7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 27 May 2019 09:27:21 +0200 Subject: Statistics: manage units --- archaeological_finds/models_finds.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_finds') diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 57ae1549c..7daf4cbec 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -840,10 +840,10 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem, key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()] STATISTIC_SUM_VARIABLE = OrderedDict( ( - ("pk", _("Number")), - ("weight", _("Weight")), - ("estimated_value", _("Estimated value")), - ("insurance_value", _("Insurance value")), + ("pk", (_("Number"), 1)), + ("weight", (_("Weight (kg)"), 0.001)), + ("estimated_value", (_("Estimated value"), 1)), + ("insurance_value", (_("Insurance value"), 1)), ) ) -- cgit v1.2.3