Added delivery date in SO parent form. Fixes #10104 (#10155)

* Added delivery date in SO parent form. Fixes #10104

* UI tests for sales order delivery date
This commit is contained in:
Nabin Hait
2017-07-31 11:25:51 +05:30
committed by Makarand Bauskar
parent 3beb1ba667
commit 495ef67caa
13 changed files with 119 additions and 39 deletions

View File

@@ -27,8 +27,7 @@ def test_recurring_document(obj, test_records):
base_doc.set(date_field, today)
if base_doc.doctype == "Sales Order":
for d in base_doc.get("items"):
d.set("delivery_date", add_days(today, 15))
base_doc.set("delivery_date", add_days(today, 15))
# monthly
doc1 = frappe.copy_doc(base_doc)