[Minor] Landed Cost Voucher test case fixed

This commit is contained in:
Kanchan Chauhan 2017-02-22 17:25:26 +05:30
parent 2d8047837c
commit fe61c314b7

View File

@ -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", {