fix(JW Import): Another small issue with negative amounts
This commit is contained in:
parent
75b009e250
commit
1e1b72188f
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user