mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Tets case fixed for payment tool
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user