Cant use SlickReportField for FloatField
nquang2448 opened this issue · comments
Can you attach your whole view ?
Looks to me that there is a typo though... in the columns you're showing it is 'sum__balance'.. however the error value you reported cit complains about `balance__sum'
Also: Changing the Decimal Fields to Floats in the tests suits does NOT produce any errors :)
Can you attach your whole view ?
Looks to me that there is a typo though... in the columns you're showing it is 'sum__balance'.. however the error value you reported cit complains about `balance__sum'Also: Changing the Decimal Fields to Floats in the tests suits does NOT produce any errors :)
I try find your trouple in your code. I find a line in helpers.py
return ''.join([calculation_field.lower(), calculation_method.name.lower()])
if my field is : balanceValue
it will return : balancevalue__sum instead of balanceValue__sum
So that's make me have a error.
i try fix it to :
return ''.join([calculation_field, calculation_method.name.lower()])
-> it's solved
Also thank you when you created SlickReportField