fix(JW Import): Another small issue with negative amounts

This commit is contained in:
Glen Whitney 2020-11-22 21:44:28 +00:00
parent 75b009e250
commit 1e1b72188f

View File

@ -261,7 +261,7 @@ class JWImport(Document):
if rec.data_status != 'OK': if rec.data_status != 'OK':
rec.disposition = 'Data Missing' rec.disposition = 'Data Missing'
continue continue
if flt(rec.amount) < 0.01: if abs(flt(rec.amount)) < 0.01:
rec.disposition = 'Ignore' rec.disposition = 'Ignore'
continue continue