mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
[test] Fixed advance jv cancellation (#11333)
This commit is contained in:
@@ -473,6 +473,7 @@ class TestPurchaseInvoice(unittest.TestCase):
|
|||||||
import test_records as jv_test_records
|
import test_records as jv_test_records
|
||||||
|
|
||||||
jv = frappe.copy_doc(jv_test_records[1])
|
jv = frappe.copy_doc(jv_test_records[1])
|
||||||
|
jv.accounts[0].is_advance = 'Yes'
|
||||||
jv.insert()
|
jv.insert()
|
||||||
jv.submit()
|
jv.submit()
|
||||||
|
|
||||||
|
|||||||
@@ -1133,6 +1133,7 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
import test_records as jv_test_records
|
import test_records as jv_test_records
|
||||||
|
|
||||||
jv = frappe.copy_doc(jv_test_records[0])
|
jv = frappe.copy_doc(jv_test_records[0])
|
||||||
|
jv.accounts[0].is_advance = 'Yes'
|
||||||
jv.insert()
|
jv.insert()
|
||||||
jv.submit()
|
jv.submit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user