mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 15:12:21 +01:00
fix: disable cwip in asset repair tests
This commit is contained in:
@@ -130,6 +130,7 @@ class TestAssetRepair(unittest.TestCase):
|
|||||||
set_depreciation_settings_in_company(company="_Test Company with perpetual inventory")
|
set_depreciation_settings_in_company(company="_Test Company with perpetual inventory")
|
||||||
|
|
||||||
asset_category = frappe.get_doc("Asset Category", "Computers")
|
asset_category = frappe.get_doc("Asset Category", "Computers")
|
||||||
|
asset_category.enable_cwip_accounting = 0
|
||||||
asset_category.append(
|
asset_category.append(
|
||||||
"accounts",
|
"accounts",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user