> Hello,
>
> Juste question at line 109
>
> I don't know if it's better to use float_compare method with precision
>
> prec = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account')
> not float_compare(debit, credit, precision_digits=prec)
>
> Vincent
Thanks for the review. I made the change, but used float_is_zero.
> Hello, get('decimal. precision' ).precision_ get(cr, uid, 'Account') debit, credit, precision_ digits= prec)
>
> Juste question at line 109
>
> I don't know if it's better to use float_compare method with precision
>
> prec = self.pool.
> not float_compare(
>
> Vincent
Thanks for the review. I made the change, but used float_is_zero.