fix: linting issue
This commit is contained in:
@@ -702,10 +702,7 @@ class StockReconciliation(StockController):
|
||||
if allow_negative_stock:
|
||||
return True
|
||||
|
||||
if any(
|
||||
(d.batch_no and flt(d.qty) == flt(d.current_qty))
|
||||
for d in self.items
|
||||
):
|
||||
if any((d.batch_no and flt(d.qty) == flt(d.current_qty)) for d in self.items):
|
||||
allow_negative_stock = True
|
||||
|
||||
return allow_negative_stock
|
||||
|
||||
Reference in New Issue
Block a user