Skip to content

Commit eeb6d0e

Browse files
committed
fix: remove the redundant purchase receipt submit
1 parent ca97f34 commit eeb6d0e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

erpnext/assets/doctype/asset/test_asset.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def test_partial_asset_sale(self):
734734
asset_depr_schedule_before_sale.depreciation_schedule[0].get("depreciation_amount"), 83333.33
735735
)
736736

737-
# make a partial sales againt the asset
737+
# make a partial sales against the asset
738738
si = make_sales_invoice(
739739
asset=asset.name, item_code="Macbook Pro", company="_Test Company", sell_qty=5
740740
)
@@ -776,7 +776,6 @@ def test_asset_splitting_for_non_existing_asset(self):
776776
location=asset_location,
777777
supplier="_Test Supplier",
778778
)
779-
pr.submit()
780779

781780
asset = frappe.db.get_value("Asset", {"purchase_receipt": pr.name, "docstatus": 0}, "name")
782781
asset_doc = frappe.get_doc("Asset", asset)

0 commit comments

Comments
 (0)