Comment 15 for bug 452854

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

ok, i made the following change and it seems to work :

change :

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

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

Can you confirm ?