mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-03 00:23:21 +00:00
test: set schedule date on PO before insert
This commit is contained in:
@@ -59,7 +59,9 @@ class TestMaterialRequest(ERPNextTestSuite):
|
||||
# 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