diff --git a/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.py b/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.py index 409770e91b6..6cf0e2e917a 100644 --- a/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.py +++ b/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.py @@ -13,7 +13,7 @@ from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make class TestLandedCostVoucher(unittest.TestCase): def test_landed_cost_voucher(self): set_perpetual_inventory(1) - pr = frappe.copy_doc(pr_test_records[0]) + pr = frappe.copy_doc(pr_test_records[1]) pr.submit() last_sle = frappe.db.get_value("Stock Ledger Entry", {