define context if not set in stock.py

define context in generate_labels().
In some case ie errpeek you send model('stock.picking.out').generate_labels([my_id]) and context is not passed
and it breaks at context_attachment = context.copy()