Merge pull request #32232 from nabinhait/asset-repair-test-fix1

fix: disable cwip in asset repair tests
This commit is contained in:
Nabin Hait
2022-09-16 12:17:01 +05:30
committed by GitHub

View File

@@ -130,6 +130,7 @@ class TestAssetRepair(unittest.TestCase):
set_depreciation_settings_in_company(company="_Test Company with perpetual inventory")
asset_category = frappe.get_doc("Asset Category", "Computers")
asset_category.enable_cwip_accounting = 0
asset_category.append(
"accounts",
{