commit | 96f31847b203eb58cc92e04747700de859e8eb97 | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Wed Nov 29 16:04:36 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Wed Nov 29 16:04:36 2023 +0530 |
tree | 87a322bb2d623f8bc1b11f89f04d22726119d144 | |
parent | 4a047fefb8b05583ab529c58737baa69af29b958 [diff] |
fix: set cwip account for company before tests
diff --git a/erpnext/assets/doctype/asset_value_adjustment/test_asset_value_adjustment.py b/erpnext/assets/doctype/asset_value_adjustment/test_asset_value_adjustment.py index 5d49759..2c97bae 100644 --- a/erpnext/assets/doctype/asset_value_adjustment/test_asset_value_adjustment.py +++ b/erpnext/assets/doctype/asset_value_adjustment/test_asset_value_adjustment.py
@@ -18,6 +18,9 @@ class TestAssetValueAdjustment(unittest.TestCase): def setUp(self): create_asset_data() + frappe.db.set_value( + "Company", "_Test Company", "capital_work_in_progress_account", "CWIP Account - _TC" + ) def test_current_asset_value(self): pr = make_purchase_receipt(