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