Skip to content
Snippets Groups Projects
Commit 33a27ac4 authored by Vincent Texier's avatar Vincent Texier
Browse files

refs #335 Fix broken referentials for good

parent b05d07b7
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class QuantitativeZSum(BaseReferential):
@property
def diff_units(self):
return self.units
return QCoreApplication.translate("Quantitative", Quantitative._UNITS_STR_).format(self.community.short_currency)
async def value(self):
"""
......
......@@ -46,7 +46,7 @@ class RelativeZSum(BaseReferential):
@property
def diff_units(self):
return Relative.units
return QCoreApplication.translate("Relative", Relative._UNITS_STR_).format(self.community.short_currency)
async def value(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment