commit | 73f1c93cd25e1f6465a67ea41e6755bb367a2e9f | [log] [tgz] |
---|---|---|
author | Sunny <schilgod@gmail.com> | Tue Sep 26 11:44:10 2017 +0800 |
committer | Sunny <schilgod@gmail.com> | Thu Sep 28 15:24:11 2017 +0800 |
tree | 2c2bacc0d091271d0868bc915c01853bc25fdaac | |
parent | bf68611567a14fc9e17b98fb2703eb91b53d5dd4 [diff] |
fix ppt code
diff --git a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py index 99cf6b3..73b73b9 100644 --- a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py +++ b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py
@@ -516,6 +516,7 @@ "transaction_date": nowdate(), "status": "Draft", "company": self.company, + "requested_by": frappe.session.user, "schedule_date": add_days(nowdate(), cint(item_wrapper.lead_time_days)), }) material_request.update({"material_request_type": item_wrapper.default_material_request_type})