diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-27 09:27:21 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:28 +0200 |
commit | 88fa8d535bc723bae9b4e06460ca0bf639ed57e1 (patch) | |
tree | c93ba66da837f440d78c5e062262f0b321f1be7c /ishtar_common/models.py | |
parent | b19362fbbe2fb500f095ba61a17d86687f329d95 (diff) | |
download | Ishtar-88fa8d535bc723bae9b4e06460ca0bf639ed57e1.tar.bz2 Ishtar-88fa8d535bc723bae9b4e06460ca0bf639ed57e1.zip |
Statistics: manage units
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
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, |