So i want to convert my code from Odoo12 to Odoo13 and i'm stuck on this part :
#digits_rounding_precision here is 0.0
digits_rounding_precision = self.currency_id.rounding
if float_is_zero(self.residual_amount, precision_rounding=digits_rounding_precision):
self.reconciled = True
else:
self.reconciled = False
I got this type of error :
precision_rounding must be positive, got %s" % precision_rounding
AssertionError: precision_rounding must be positive, got 0.0
but on Odoo12 it was fine to have 0.0 value Please help me