Multiple delivery dates in Sales Order and make DN based on selected delivery dates (#9933)

* Multiple delivery dates in Sales Order and make DN based on selected delivery dates

* Test case and some other minor fixes

* Updated docs for multi delivery date

* removed the trailing whitespace

* removed the trailing whitespace

* removed trailing whitespace
This commit is contained in:
Nabin Hait
2017-07-20 10:30:59 +05:30
committed by Makarand Bauskar
parent ac9b1332d2
commit 8e0f23efc7
17 changed files with 208 additions and 69 deletions

View File

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