'Return an action to display the pickings belonging to the same
procurement group of given ids.'

@api.multi
def do_view_pickings(self):

    action = self.env.ref('stock.do_view_pickings').read()[0]
    action['domain'] = [('group_id', 'in', self.mapped('group_id').ids)]
    return action
