commit | 0d91d3f572df0e0b9b51e39842281e3b19ad9952 | [log] [tgz] |
---|---|---|
author | Sunny <schilgod@gmail.com> | Tue Sep 26 10:56:31 2017 +0800 |
committer | Sunny <schilgod@gmail.com> | Thu Sep 28 15:23:52 2017 +0800 |
tree | 166ba926d2cef7940d37ea464abd58cccf0e1ce7 | |
parent | 892ec599d47b587ebab6d2d7d8955bae19750021 [diff] [blame] |
add schedule_date while creating Material Request
diff --git a/erpnext/demo/user/purchase.py b/erpnext/demo/user/purchase.py index 960a316..82983f0 100644 --- a/erpnext/demo/user/purchase.py +++ b/erpnext/demo/user/purchase.py
@@ -103,6 +103,7 @@ mr.material_request_type = "Purchase" mr.transaction_date = frappe.flags.current_date + mr.schedule_date = frappe.utils.add_days(mr.transaction_date, 7) mr.append("items", { "doctype": "Material Request Item",