# Conflicts: # erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py
This commit is contained in:
parent
ea83e2b45f
commit
9f5111809d
@ -324,18 +324,7 @@ class TestPurchaseReceipt(unittest.TestCase):
|
|||||||
|
|
||||||
pr1.submit()
|
pr1.submit()
|
||||||
self.assertRaises(frappe.ValidationError, pr2.submit)
|
self.assertRaises(frappe.ValidationError, pr2.submit)
|
||||||
|
frappe.db.rollback()
|
||||||
pr1.cancel()
|
|
||||||
se.cancel()
|
|
||||||
se1.cancel()
|
|
||||||
se2.cancel()
|
|
||||||
se3.cancel()
|
|
||||||
po.reload()
|
|
||||||
pr2.load_from_db()
|
|
||||||
pr2.cancel()
|
|
||||||
|
|
||||||
po.load_from_db()
|
|
||||||
po.cancel()
|
|
||||||
|
|
||||||
def test_serial_no_supplier(self):
|
def test_serial_no_supplier(self):
|
||||||
pr = make_purchase_receipt(item_code="_Test Serialized Item With Series", qty=1)
|
pr = make_purchase_receipt(item_code="_Test Serialized Item With Series", qty=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user