@staff_member_required
def packing_slip_pdf(request, order_id):
    order = get_object_or_404(plata.shop_instance().order_model, pk=order_id)

    pdf, response = pdf_response('packing-slip-%09d' % order.id)
    plata.reporting.order.packing_slip_pdf(pdf, order)
    return response
Returns the packing slip PDF
dataset/ETHPy150Open matthiask/plata/plata/reporting/views.py/packing_slip_pdf