Ignore validating billed amount against order if order item amount is zero

This commit is contained in:
Nabin Hait
2016-08-26 11:39:23 +05:30
parent 385311c8a2
commit 47a3f639ed
2 changed files with 8 additions and 8 deletions

View File

@@ -142,7 +142,7 @@ class StatusUpdater(Document):
if item['reduce_by'] > .01:
self.limits_crossed_error(args, item)
else:
elif item[args['target_ref_field']]:
self.check_overflow_with_tolerance(item, args)
def check_overflow_with_tolerance(self, item, args):