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 --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 032004e2f..025e21f61 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1936,8 +1936,8 @@ class StatisticItem: # OrderedDict([('year', _("Year")), # ("operation_type__label", _("Operation type"))]) STATISTIC_SUM_VARIABLE = OrderedDict( - (("pk", _("Number")),) - ) # example: "Price", "Volume" + (("pk", (_("Number"), 1)),) + ) # example: "Price", "Volume" - the number is a multiplier class BaseHistorizedItem(StatisticItem, TemplateItem, FullSearch, Imported, -- cgit v1.2.3