mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +00:00
fix: add test case for update received qty in MR
(cherry picked from commit cff1050159)
This commit is contained in:
@@ -83,7 +83,6 @@ class TestPurchaseInvoice(FrappeTestCase, StockTestMixin):
|
||||
mr = make_material_request(item_code="_Test Item", qty=10)
|
||||
mr.save()
|
||||
mr.submit()
|
||||
frappe.db.commit()
|
||||
po = make_purchase_order(mr.name)
|
||||
po.supplier = "_Test Supplier"
|
||||
po.save()
|
||||
@@ -94,7 +93,6 @@ class TestPurchaseInvoice(FrappeTestCase, StockTestMixin):
|
||||
pi.update_stock = True
|
||||
pi.insert()
|
||||
pi.submit()
|
||||
frappe.db.commit()
|
||||
|
||||
# Check if the received quantity is updated in Material Request
|
||||
mr.reload()
|
||||
|
||||
Reference in New Issue
Block a user