Comment 11 for bug 452854

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote : Re: Cannon validate foreign currency invoices

Hello,
I got this bug, too and changed the line as above :

if abs(amount) < 10**-config['price_accuracy']:

but i get the following error when running :
TypeError: bad operand type for unary -: 'str'

...
Thanks