fix: enable allow_negative_stock settings

This commit is contained in:
Kavin
2025-11-17 13:53:55 +05:30
parent 0a0177cb9e
commit 2a5c9b469c

View File

@@ -45,6 +45,7 @@ class TestStockReconciliation(FrappeTestCase, StockTestMixin):
def test_reco_for_moving_average(self):
self._test_reco_sle_gle("Moving Average")
@change_settings("Stock Settings", {"allow_negative_stock": 1})
def _test_reco_sle_gle(self, valuation_method):
item_code = self.make_item(properties={"valuation_method": valuation_method}).name