mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
# Conflicts: # erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user