Add Purchase Order schedule_date field, similar to delivery_date in Sales Order

This commit is contained in:
Sunny 2017-09-25 01:03:12 +08:00
parent 284ceb7abe
commit 71866e06f3
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ QUnit.test("test: purchase order", function(assert) {
{items: [ {items: [
[ [
{"item_code": 'Test Product 4'}, {"item_code": 'Test Product 4'},
{"schedule_date": frappe.datetime.add_days(frappe.datetime.now_date(), 2)}, {"schedule_date": frappe.datetime.add_days(frappe.datetime.now_date(), 1)},
{"expected_delivery_date": frappe.datetime.add_days(frappe.datetime.now_date(), 5)}, {"expected_delivery_date": frappe.datetime.add_days(frappe.datetime.now_date(), 5)},
{"qty": 5}, {"qty": 5},
{"uom": 'Unit'}, {"uom": 'Unit'},