mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-09 23:39:28 +00:00
test: set schedule date on PO before insert
(cherry picked from commit 5af60cf2e3)
This commit is contained in:
@@ -58,7 +58,9 @@ class TestMaterialRequest(FrappeTestCase):
|
||||
# fully order the first item, leave the second pending
|
||||
po = make_purchase_order(mr.name)
|
||||
po.supplier = "_Test Supplier"
|
||||
po.schedule_date = today()
|
||||
po.items = [po.items[0]]
|
||||
po.items[0].schedule_date = today()
|
||||
po.insert()
|
||||
po.submit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user