mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
allow negative stock issie fixed
This commit is contained in:
@@ -80,8 +80,7 @@ class update_entries_after(object):
|
|||||||
self.verbose = verbose
|
self.verbose = verbose
|
||||||
self.allow_zero_rate = allow_zero_rate
|
self.allow_zero_rate = allow_zero_rate
|
||||||
self.allow_negative_stock = allow_negative_stock
|
self.allow_negative_stock = allow_negative_stock
|
||||||
|
if not self.allow_negative_stock:
|
||||||
if self.allow_negative_stock==None:
|
|
||||||
self.allow_negative_stock = cint(frappe.db.get_single_value("Stock Settings",
|
self.allow_negative_stock = cint(frappe.db.get_single_value("Stock Settings",
|
||||||
"allow_negative_stock"))
|
"allow_negative_stock"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user