def METHOD_NAME(filters, order_details):
	for row in frappe.get_all(
		"Work Order",
		filters={"production_plan": filters.get("production_plan")},
		fields=["name", "produced_qty", "production_plan", "production_item"],
	):
		order_details.setdefault((row.name, row.production_item), row)