'Will remove all quants for picking in picking_ids'

@api.multi
def do_unreserve(self):

    moves_to_unreserve = self.mapped('move_lines').filtered((lambda move: (move.state not in ('done', 'cancel'))))
    pack_line_to_unreserve = self.mapped('pack_operation_ids')
    if moves_to_unreserve:
        if pack_line_to_unreserve:
            pack_line_to_unreserve.unlink()
        moves_to_unreserve.do_unreserve()
