fix ppt code

This commit is contained in:
Sunny 2017-09-26 11:44:10 +08:00
parent bf68611567
commit 73f1c93cd2

View File

@ -516,6 +516,7 @@ class ProductionPlanningTool(Document):
"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})