fix(stock): Fix travis builds

This commit is contained in:
Aditya Hase 2019-07-26 03:05:40 +05:30
parent 0f072d7d40
commit 6bc2988623

View File

@ -327,7 +327,8 @@ class StockReconciliation(StockController):
if sl_entries:
sl_entries.reverse()
self.make_sl_entries(sl_entries)
allow_negative_stock = frappe.db.get_value("Stock Settings", None, "allow_negative_stock")
self.make_sl_entries(sl_entries, allow_negative_stock=allow_negative_stock)
# repost future entries for selected item_code, warehouse
for entries in existing_entries: