목록 삽입¶
중요
스프레드시트에 목록을 삽입하기 전에 필요한 내용에 맞추어 목록이 조정되었는지 확인합니다. 어떤 필드를 표시되게 할지 또는 레코드에 어떤 필터나 정렬 방식을 적용할지 고려하세요. 이 내용은 스프레드시트의 로딩 시간과 사용자 친화성에 영향을 미칠 수 있습니다.
목록을 삽입하려면:
With the relevant list view open in your database, click the (Actions) icon beside the name of the view, then .
참고
To insert only specific records, select the relevant records, click the Actions button that appears at the top center of the screen, then Insert in spreadsheet.
In the window that opens, edit the Name of the list if needed.
The list name is used in the sheet name and in the list properties.
필요 시, 삽입할 레코드 수(행)를 수정합니다.
By default, the number shown is the number of records visible on the first page of the list. For example, if the list contains 150 records but only 80 are visible, this field will show 80.
참고
While the data in your list is kept up to date thanks to the connection to your database, an inserted list will not automatically expand to accommodate new records, e.g., a new product category or a new salesperson.
If you anticipate new records being added, consider adding extra rows when inserting the list. Records/rows can also be added manually after the spreadsheet has been inserted.
Example
현재 회사에는 10개의 품목 카테고리가 있으며 이 목록은 스프레드시트에 삽입되어 있습니다. 11번째 품목 카테고리를 생성하여 목록에 삽입하려고 할 때 삽입하려는 목록에 10개의 행만 있는 경우에는, 새 카테고리가 스프레드시트에 해당 위치에 삽입되고 기존의 카테고리는 제거됩니다.
One way to avoid this is to add extra rows when inserting the list.
Click Blank spreadsheet to create a new spreadsheet, or select in which existing spreadsheet the list should be inserted.
참고
When inserting a list into a new spreadsheet, the spreadsheet is saved in the Odoo Documents app in the My Drive personal folder.
확인 을 클릭합니다.
The list is inserted into a new sheet in the spreadsheet. The sheet tab in the bottom bar shows the name of the list followed by the list ID, e.g., Quotations by Total (List #1). A panel on the right side of the screen shows the list properties.
팁
To sever the link between an inserted list and your database, select the entire list, right-click and select Copy then right-click again and select .
Do not modify the list ID in the sheet name, as the inserted list retains this ID for the lifetime of the spreadsheet. This list ID is used in the spreadsheet functions that retrieve data from your database.
목록 기능¶
When a list is inserted into a spreadsheet, the following functions are used to retrieve the header and field values, respectively:
=ODOO.LIST.HEADER(list_id, field_name)
=ODOO.LIST(list_id, index, field_name)
함수의 인수는 다음과 같습니다:
list_id: the ID assigned when the list is inserted. The first list inserted into a spreadsheet is assigned list ID1, the second, list ID2, etc.index: identifies the line on which the record appeared in the list before insertion. The first line has an index of1, the second an index of2, etc.field_name: 필드의 기술명.
팁
개별 셀을 클릭하면, 해당되는 경우 관련된 수식이 수식 입력줄에 표시됩니다. 스프레드시트의 모든 수식이 동시에 나타나도록 하려면 메뉴 표시줄에서 을 클릭합니다. 아래 예시는 목록 머리글과 값을 가져올 때 사용된 함수입니다.
목록 속성¶
목록을 삽입하면 화면 오른쪽에 목록 속성이 나타납니다. 목록 속성은 데이터 메뉴에서 (목록) 아이콘으로 나타나 있는 목록을 클릭하면 언제든지 액세스할 수 있으며, 목록의 아무 곳이나 오른쪽 클릭 후 목록 속성 보기 를 클릭하는 방식으로도 가능합니다.
다음과 같이 목록 속성이 표시되며, 일부는 편집이 가능합니다:
List #: the list ID. List IDs are assigned sequentially as additional lists are inserted into the spreadsheet.
List Name: the name of the list. Edit this if needed. Note that editing the list name in the list properties does not modify the list name shown in the sheet name, and vice versa.
모델: 데이터가 추출된 모델입니다.
Columns: the fields of the model that were visible when the list was inserted.
Domain: the rules used to determine which records are shown. Click Edit domain to add or edit rules.
참고
When global filters are used, this domain is combined with the selected values of the global filter before the data is loaded into the spreadsheet.
Sorting: how the data is sorted, if applicable. To add a sorting rule, click Add, select the field, then choose whether sorting should be Ascending or Descending. Delete a sorting rule by clicking the (delete) icon.
To duplicate or delete a list’s data source, click the (gear) icon, then click Duplicate or Delete as relevant.
삽입한 목록 관리하기¶
After a list from an Odoo database has been inserted into an Odoo spreadsheet, you can:
add records, i.e., rows
add fields, i.e., columns
duplicate the list to create a new, identical data source
목록에 레코드/행 추가하기¶
목록에 레코드를 추가하려면 다음 방법 중에서 선택하세요:
Select the last row of the table, then hover over the blue square until the plus icon appears. Click and drag down to add the desired number of rows. The cells of the new rows are populated with the appropriate formula to retrieve the list values. If there is corresponding data in your database, the cells are populated.
커서를 시트의 왼쪽 상단 셀에 놓고 메뉴 막대에서 을 클릭한 다음, 해당 목록을 선택합니다. 팝업창에서 삽입할 레코드 수를 지정한 후 확인 을 클릭합니다. 업데이트된 목록이 삽입되어 이전 목록을 덮어씁니다.
팁
The above methods can also be used to add additional blank rows to your spreadsheet table. This may be useful for lists where you expect additional records to be generated in your database, e.g., new product categories or new salespersons.
목록에 필드/열 추가하기¶
목록에 필드/열 추가하기:
Select the column to the right or left of where the new column should be inserted.
Click then or from the menu bar, or right-click then Insert column left or Insert column right as appropriate.
Copy the header cell of any column, paste it into the header cell of the new column, and press
Enter.Double-click the new header cell then click on the field name that appears in quotation marks at the end of the formula; a list of all the technical names of the fields of the related model appears.
Select the appropriate field name and press
Enter. The field’s label appears in the header.팁
To know a field’s technical name, navigate to the relevant view, activate developer mode, then check the field name by hovering over the question mark beside a field’s label.
머리글 셀을 선택한 상태에서 오른쪽 아래 코너에 있는 파란색 사각형을 더블 클릭합니다. 그러면 열의 셀에 목록 값을 검색하는 데 적절한 수식이 채워집니다. 데이터베이스에 해당하는 데이터가 있는 경우 관련된 셀이 채워집니다.
목록 복제¶
Duplicating a list via the list’s properties creates an additional data source. This allows for different manipulations to be performed on the same data within one spreadsheet.
With the list properties open, click the (gear) icon then Duplicate.
The new data source is assigned the next available list ID. For example, if no other lists have been inserted in the meantime, duplicating List #1 results in the creation of List #2.
Unlike when you insert a list, a duplicated list is not automatically inserted into the spreadsheet. To insert it, perform the following steps:
Add a new sheet by clicking the (add sheet) icon at the bottom left of the spreadsheet.
Click from the menu bar, then select the appropriate list.
삽입할 레코드 수를 지정한 후 확인 을 클릭합니다.
필요한 경우 속성 패널에서 목록 이름 을 편집합니다.
Rename the sheet by right-clicking on the sheet tab, selecting Rename, and entering the new sheet name.
참고
복사 및 붙여넣기 방식으로 삽입된 목록을 복제하거나 혹은 목록이 삽입되어 있는 시트를 복사하는 방식으로 목록을 복제하더라도 새로 데이터 원본이 생성되지는 않습니다. 따라서 목록 속성을 변경할 경우 변경 사항이 모든 복사본에 영향을 미치게 됩니다.
목록 삭제¶
To fully delete a list and the underlying data source from a spreadsheet, perform the following steps in any order:
Delete the spreadsheet table using your preferred means, e.g., via keyboard commands, spreadsheet menus, or by deleting the sheet. This deletes the visual representation of the data.
From the properties panel of the relevant list, click the (gear) icon then Delete. This deletes the data source of the list from the spreadsheet.