전체 필터

Create dynamic views of inserted data, by mapping data source fields to global filters in the Odoo Spreadsheets app.

참고

전체 필터는 |전체 필터| 아이콘으로 표시되어 있으며 피벗 테이블, 목록 또는 그래프를 통해 삽입된 데이터를 필터할 수 있습니다. 전체 필터는 (필터) 아이콘으로 표시되는 셀 범위에 대한 정렬 및 필터 기능과는 다릅니다.

스프레드시트에 있는 전체 필터 메뉴 사이드바입니다.

필터 추가

Navigate to the Documents app and click on the desired spreadsheet, then open the (global filter) filter menu.

Create a new filter by selecting one of the buttons under the Add a new filter… section:

  • Date: filter dates by matching data source date fields to a time range (e.g., Month / Quarter, Relative Period, or From / To).

  • Relation: filter records by matching data source fields to fields in a related model (e.g., Lead/Opportunity, Sales Order, or Event Registration).

  • Text: filter text by matching data source text fields to a string of text (e.g., Restrict values to a range and/or provide a Default value).

참고

Only filters that are able to be applied to the fields in the data source are shown.

날짜

전체 필터인 날짜 필터를 통해 특정 기간 범위로 데이터 출처에 필터를 적용할 수 있으며, 현재 기간을 기준으로 자동 필터를 하거나 기간을 기준으로 시간 범위를 오프셋할 수 있습니다.

With the (global filter) menu open, select the Date button to create a new date filter. The Filter properties menu displays the following fields for configuration below.

먼저 새 날짜 필터의 이름을 라벨 필드에 입력합니다.

그런 다음 시간 범위 필드에 있는 세 가지 기간 옵션 중 하나를 선택합니다.

  • Month / Quarter: enables a drop-down menu of specific months and quarters of a year (i.e., Q1, Q2, January, etc.).

  • Relative Period: enables a drop-down menu of specific moving time frames (i.e., Year to Date, Last 7 Days, Last 30 Days, etc.).

  • From / To: enables Date from… and Date to… date selection fields to define a specific time range (e.g., 06/05/2024 to 06/27/2024).

선택 사항으로, 기간 범위 에 대한 기본값 을 설정합니다.

참고

기본값 필드는 월 / 분기 또는 상대 기간 범위에만 나타납니다.

월 / 분기 범위를 선택한 경우 현재 기간에 자동으로 필터 적용 확인란을 선택하여 , 분기 또는 연도 중 하나를 기본 기간으로 지정합니다.

다음으로 각 데이터 출처에 항목 매칭 를 설정합니다. 설정하려면 항목 매칭 제목을 클릭하여 섹션을 펼칩니다.각 데이터 출처에 매치할 항목이 두 개씩 표시되는 스프레드시트의 데이터 출처 목록이 나타납니다.

  • Date field: select a date field from the data source model to apply the time range to.

  • 기간 오프셋: (선택 사항) 해당하는 기간만큼 시간 범위를 이동시키도록 오프셋을 선택합니다.

    사용 가능한 옵션에는 이전, 이전 전, 다음, 다음 이후 가 있습니다.

마지막으로 양식에 정보를 모두 입력한 후 저장 버튼을 클릭합니다. 데이터 출처 항목 중에서 날짜 (또는 일시) 데이터 유형과 일치하지 않는 항목이 있는 경우에는 일부 필수 항목이 유효하지 않습니다 라는 오류 메시지가 표시됩니다.

Example

설정된 시간 범위를 기준으로 다음 기간에 필터를 적용하려면 월/분기 범위를 선택할 때 다음기간 오프셋 을 고려하도록 합니다.

With this configuration, selecting January 2024 as the date, filters data as February 2024; where the selected month is offset to the next month.

기간 오프셋이 "다음" 으로 설정되어 있는 날짜 필터입니다.

관련성

The Relation global filter enables the filtering of records in data sources by selecting a field from a related model.

With the (global filter) menu open, select the Relation button to create a new relation filter. The Filter properties menu displays the following fields for configuration.

먼저 새 관계 필터의 이름을 라벨 필드에 입력합니다.

그런 다음 관련 모델 필드에서 모델을 선택하거나 검색합니다.

모델을 선택하면 기본값필드 매칭 필드가 나타납니다.

Optionally, set a Default value for the Related model. The available options are records of the model.

다음으로 각 데이터 출처에 항목 매칭 을 설정합니다. 설정하려면 항목 매칭 제목을 클릭하여 섹션을 펼칩니다. 데이터 출처에 매치할 항목이 두 개씩 표시되는 스프레드시트의 데이터 출처 목록이 나타납니다.

데이터 소스 모델에서 관계 필터를 적용할 필드를 선택합니다.

마지막으로 양식에 내용을 모두 입력한 후 저장 버튼을 클릭합니다. 데이터 출처 항목 중에서 날짜 (또는 일시) 데이터 유형과 일치하지 않는 항목이 있는 경우에는 일부 필수 항목이 유효하지 않습니다 라는 오류 메시지가 표시됩니다.

Example

Consider a Relation filter with the Related model set as Contact. The Field matching CRM lead (crm.lead) pivot data sources are set to Customer.

With this configuration, selecting a customer record filters the pivot table to only leads that are related to the selected customer record.

관계 필터에 연락처 모델이 설정되어 있는 모습입니다.

문자

텍스트 전체 필터를 적용하면 데이터 소스 텍스트 필드를 텍스트 문자열 또는 사전 정의된 값 범위와 매칭하여 텍스트에 필터를 적용할 수 있습니다.

With the (global filter) menu open, select the Text button to create a new text filter. The Filter properties menu displays the following fields for configuration.

먼저 새 텍스트 필터의 이름을 라벨 필드에 입력합니다.

그런 다음 확인란을 선택하여 :guilabel:`범위로 값을 제한`할지 여부를 선택합니다. 그렇게 하면 스프레드시트 내에 범위를 입력하는 항목이 표시됩니다. 범위를 입력 혹은 선택합니다.

다음으로 각 데이터 출처에 항목 매칭 을 설정합니다. 설정하려면 항목 매칭 제목을 클릭하여 섹션을 펼칩니다. 데이터 출처에 매치할 항목이 두 개씩 표시되는 스프레드시트의 데이터 출처 목록이 나타납니다.

데이터 소스 모델에서 텍스트 필터를 적용할 필드를 선택합니다.

마지막으로 양식에 내용을 모두 입력한 후 저장 버튼을 클릭합니다. 데이터 출처 항목 중에서 날짜 (또는 일시) 데이터 유형과 일치하지 않는 항목이 있는 경우에는 일부 필수 항목이 유효하지 않습니다 라는 오류 메시지가 표시됩니다.

Example

값을 범위로 제한A2:A6 범위가 추가된 텍스트 필터가 있다고 가정합니다. 스프레드시트에는 열 A 와 행 `2`부터`6`까지의 셀에 다섯 가지 서로 다른 품목명이 값으로 나타나 있습니다.

위와 같이 환경설정하면, 품목 피벗 테이블에 품목명을 기준으로 필터를 적용할 수 있으며 텍스트 필터에서 사용 할 수 있는 미리 지정된 5개의 값 중 하나를 선택합니다.

Furthermore, if the values in the range A2:A6 are added dynamically– the text filter becomes dynamic as well.

제한된 범위의 동적 텍스트 필터입니다.

필터 관리

Open the (global filter) filter menu by navigating to the Documents app and clicking on the desired spreadsheet.

Existing global filters appear under the Filters section. Filters can be used individually, or at the same time.

The order of existing filters can be changed by hovering over a filter and using the (drag handle) icon to change the position.

To reset a filter with set values back to default, click on the (clear) icon next to the value in the filter.

기존 필터를 편집하려면 (톱니바퀴) 아이콘을 선택하여 필터에 있는 필터 속성 메뉴를 엽니다. 여기에서 필터를 수정하거나 제거 버튼으로 필터를 삭제할 수 있습니다.