mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Merge branch 'develop' of https://github.com/frappe/erpnext into asset-value-through-landed-cost-voucher
This commit is contained in:
@@ -31,6 +31,12 @@ class TestAssetCapitalization(unittest.TestCase):
|
|||||||
def test_capitalization_with_perpetual_inventory(self):
|
def test_capitalization_with_perpetual_inventory(self):
|
||||||
company = "_Test Company with perpetual inventory"
|
company = "_Test Company with perpetual inventory"
|
||||||
set_depreciation_settings_in_company(company=company)
|
set_depreciation_settings_in_company(company=company)
|
||||||
|
name = frappe.db.get_value(
|
||||||
|
"Asset Category Account",
|
||||||
|
filters={"parent": "Computers", "company_name": company},
|
||||||
|
fieldname=["name"],
|
||||||
|
)
|
||||||
|
frappe.db.set_value("Asset Category Account", name, "capital_work_in_progress_account", "")
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
consumed_asset_value = 100000
|
consumed_asset_value = 100000
|
||||||
@@ -215,6 +221,12 @@ class TestAssetCapitalization(unittest.TestCase):
|
|||||||
def test_capitalization_with_wip_composite_asset(self):
|
def test_capitalization_with_wip_composite_asset(self):
|
||||||
company = "_Test Company with perpetual inventory"
|
company = "_Test Company with perpetual inventory"
|
||||||
set_depreciation_settings_in_company(company=company)
|
set_depreciation_settings_in_company(company=company)
|
||||||
|
name = frappe.db.get_value(
|
||||||
|
"Asset Category Account",
|
||||||
|
filters={"parent": "Computers", "company_name": company},
|
||||||
|
fieldname=["name"],
|
||||||
|
)
|
||||||
|
frappe.db.set_value("Asset Category Account", name, "capital_work_in_progress_account", "")
|
||||||
|
|
||||||
stock_rate = 1000
|
stock_rate = 1000
|
||||||
stock_qty = 2
|
stock_qty = 2
|
||||||
|
|||||||
2534
erpnext/locale/ar.po
2534
erpnext/locale/ar.po
File diff suppressed because it is too large
Load Diff
2613
erpnext/locale/bs.po
2613
erpnext/locale/bs.po
File diff suppressed because it is too large
Load Diff
2656
erpnext/locale/de.po
2656
erpnext/locale/de.po
File diff suppressed because it is too large
Load Diff
2542
erpnext/locale/eo.po
2542
erpnext/locale/eo.po
File diff suppressed because it is too large
Load Diff
2582
erpnext/locale/es.po
2582
erpnext/locale/es.po
File diff suppressed because it is too large
Load Diff
2564
erpnext/locale/fa.po
2564
erpnext/locale/fa.po
File diff suppressed because it is too large
Load Diff
2550
erpnext/locale/fr.po
2550
erpnext/locale/fr.po
File diff suppressed because it is too large
Load Diff
2663
erpnext/locale/sv.po
2663
erpnext/locale/sv.po
File diff suppressed because it is too large
Load Diff
2779
erpnext/locale/tr.po
2779
erpnext/locale/tr.po
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user