[test] Fixed advance jv cancellation (#11333)

This commit is contained in:
Nabin Hait 2017-10-26 11:06:07 +05:30 committed by GitHub
parent 5235aa833c
commit 52909b73bb
2 changed files with 2 additions and 0 deletions

View File

@ -473,6 +473,7 @@ class TestPurchaseInvoice(unittest.TestCase):
import test_records as jv_test_records
jv = frappe.copy_doc(jv_test_records[1])
jv.accounts[0].is_advance = 'Yes'
jv.insert()
jv.submit()

View File

@ -1133,6 +1133,7 @@ class TestSalesInvoice(unittest.TestCase):
import test_records as jv_test_records
jv = frappe.copy_doc(jv_test_records[0])
jv.accounts[0].is_advance = 'Yes'
jv.insert()
jv.submit()