Update production_planning_tool.py

This commit is contained in:
Nabin Hait 2016-09-12 18:33:17 +05:30 committed by GitHub
parent b64fc33be1
commit d7b95267b3

View File

@ -249,7 +249,7 @@ class ProductionPlanningTool(Document):
"wip_warehouse" : "",
"fg_warehouse" : d.warehouse,
"status" : "Draft",
"project" : frappe.db.get_value("Sales Order",d.sales_order,"Project")
"project" : frappe.db.get_value("Sales Order", d.sales_order, "project")
}
""" Club similar BOM and item for processing in case of Sales Orders """