From 6620e2a494054837562ec3021c7c3d2418900c58 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 2 Aug 2016 17:14:28 +0530 Subject: [PATCH] Test case fixed for pos gl entry --- erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py index e7eee5f1ea9..dd28059c43c 100644 --- a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py @@ -503,7 +503,8 @@ class TestSalesInvoice(unittest.TestCase): [pos["taxes"][1]["account_head"], 0.0, 50.0], [stock_in_hand, 0.0, abs(sle.stock_value_difference)], [pos["items"][0]["expense_account"], abs(sle.stock_value_difference), 0.0], - [si.debit_to, 0.0, si.paid_amount], + [si.debit_to, 0.0, 300.0], + [si.debit_to, 0.0, cash_amount], ["_Test Bank - _TC", 300.0, 0.0], ["Cash - _TC", cash_amount, 0.0] ])