TypeError: unsupported operand type(s) for +=: 'decimal.Decimal' and 'float' Due to the conversion a bit ago