fix: remove the redundant purchase receipt submit

(cherry picked from commit eeb6d0e9bf)
This commit is contained in:
Navin-S-R
2026-01-12 16:45:04 +05:30
committed by Mergify
parent 0a5ba66939
commit f725ddb9ea

View File

@@ -782,7 +782,7 @@ class TestAsset(AssetSetup):
asset_depr_schedule_before_sale.depreciation_schedule[0].get("depreciation_amount"), 83333.33
)
# make a partial sales againt the asset
# make a partial sales against the asset
si = make_sales_invoice(
asset=asset.name, item_code="Macbook Pro", company="_Test Company", sell_qty=5
)
@@ -824,7 +824,6 @@ class TestAsset(AssetSetup):
location=asset_location,
supplier="_Test Supplier",
)
pr.submit()
asset = frappe.db.get_value("Asset", {"purchase_receipt": pr.name, "docstatus": 0}, "name")
asset_doc = frappe.get_doc("Asset", asset)