Tets case fixed for payment tool

This commit is contained in:
Nabin Hait 2014-10-13 11:43:14 +05:30
parent 3d3f0bcf54
commit 17a16eeaf4

View File

@ -33,7 +33,8 @@ class TestPaymentTool(unittest.TestCase):
jv_against_so1 = self.create_against_jv(jv_test_records[0], { jv_against_so1 = self.create_against_jv(jv_test_records[0], {
"account": "_Test Customer 3 - _TC", "account": "_Test Customer 3 - _TC",
"against_sales_order": so1.name "against_sales_order": so1.name,
"is_advance": "Yes"
}) })
@ -45,7 +46,8 @@ class TestPaymentTool(unittest.TestCase):
jv_against_so2 = self.create_against_jv(jv_test_records[0], { jv_against_so2 = self.create_against_jv(jv_test_records[0], {
"account": "_Test Customer 3 - _TC", "account": "_Test Customer 3 - _TC",
"against_sales_order": so2.name, "against_sales_order": so2.name,
"credit": 1000 "credit": 1000,
"is_advance": "Yes"
}) })
po = self.create_voucher(po_test_records[1], { po = self.create_voucher(po_test_records[1], {
"supplier": "_Test Supplier 1" "supplier": "_Test Supplier 1"