Add Purchase Order schedule_date field, similar to delivery_date in Sales Order
This commit is contained in:
parent
f29969a5cc
commit
69e88ffa39
@ -298,7 +298,7 @@
|
|||||||
"bold": 0,
|
"bold": 0,
|
||||||
"collapsible": 0,
|
"collapsible": 0,
|
||||||
"columns": 0,
|
"columns": 0,
|
||||||
"default": "",
|
"default": "Today",
|
||||||
"fieldname": "schedule_date",
|
"fieldname": "schedule_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
|
@ -20,7 +20,7 @@ QUnit.test("test: purchase order", function(assert) {
|
|||||||
{"rate": 100},
|
{"rate": 100},
|
||||||
{"warehouse": 'Stores - '+frappe.get_abbr(frappe.defaults.get_default("Company"))}
|
{"warehouse": 'Stores - '+frappe.get_abbr(frappe.defaults.get_default("Company"))}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{"item_code": 'Test Product 1'},
|
{"item_code": 'Test Product 1'},
|
||||||
{"schedule_date": frappe.datetime.add_days(frappe.datetime.now_date(), 1)},
|
{"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)},
|
||||||
|
Loading…
Reference in New Issue
Block a user