แทรกและเชื่อมโยงไปยังข้อมูล Odoo¶
องค์ประกอบหลายอย่างจากฐานข้อมูล Odoo ของคุณสามารถแทรกลงในสเปรดชีต Odoo ได้ ได้แก่:
pivot tables, i.e., data from a pivot view
charts, i.e., data from a graph view
Each time a list, pivot table, or chart is inserted, a data source is created, directly connecting the spreadsheet to the underlying data.
Note
รายการ ตารางสรุป และแผนภูมิจากแอปและโมเดลต่างๆ สามารถแทรกลงในสเปรดชีตเดียวกันได้
It is also possible to insert a pivot table that retrieves Odoo data directly from an Odoo spreadsheet.
Tip
หากคุณต้องการใช้:doc:`ตัวกรองส่วนกลาง <work_with_data/global_filters>`เพื่อกรองข้อมูล Odoo แบบไดนามิกในสเปรดชีตหรือแดชบอร์ด ห้ามใช้เงื่อนไขเดียวกันในการสร้างรายการ ตารางสรุป หรือแผนภูมิเริ่มต้นในฐานข้อมูลของคุณ
นอกจากนี้ยังสามารถ:
add clickable links to Odoo menu items, to other sheets of the same spreadsheet, or to external URLs
insert financial data from your Odoo database using Odoo-specific spreadsheet functions
แหล่งข้อมูล¶
When you insert a list or chart from an Odoo list or chart view into an Odoo spreadsheet, or insert a pivot table referencing Odoo data from an Odoo pivot view or directly from a spreadsheet, the spreadsheet is automatically connected to the underlying data thanks to a unique 'data source.'
This connection ensures that the data in the spreadsheet is updated when the corresponding data in your database changes, and allows you to access the underlying data.
Note
Data in a list, pivot table, or chart linked to an Odoo model is refreshed every time the spreadsheet is opened or the browser page is reloaded. It is also possible to manually refresh data by clicking from the menu bar.
Inserting a pivot table from a range of data also creates a data source that connects the pivot table to the underlying spreadsheet range.
Each data source is identified by a unique ID, with each source type (i.e., list, pivot table, or chart) numbered separately, and each new list, pivot table, or chart numbered sequentially, e.g., List #1, List #2, Pivot #1, etc.
The properties of a data source can be accessed via the Data menu, where they are identified by their respective (pivot table), (list) or (chart) icon, followed by their ID and name, e.g., (#1) Sales Analysis by Product.
การคลิกที่แหล่งข้อมูลจะเปิดคุณสมบัติที่เกี่ยวข้องในแผงทางด้านขวาของสเปรดชีต
Note
Deleting an inserted list or pivot table, or deleting the sheet into which it was inserted, does not delete the underlying data source; this can only be deleted via the data source's properties. Deleting an inserted chart, however, also deletes the underlying data source.
If an inserted list or pivot table is deleted, but not its data source, a warning appears beside the data source in the Data menu indicating that the data is not currently being used in the spreadsheet.
Tip
แผงคุณสมบัติยังสามารถเปิดได้โดยการคลิกขวาที่เซลล์ใดๆ ของรายการหรือตารางสรุปที่แทรกไว้ จากนั้นคลิก See list properties หรือ See pivot properties หรือโดยการคลิกไอคอน (menu) ที่มุมบนขวาของแผนภูมิที่แทรกไว้ จากนั้นคลิก Edit
เมื่อคุณสมบัติของแหล่งข้อมูลเฉพาะเปิดอยู่ คุณสมบัติเหล่านั้นจะยังคงเปิดอยู่แม้ในขณะที่เปลี่ยนระหว่างแท็บสเปรดชีต หากต้องการปิดแผงคุณสมบัติ ให้คลิกไอคอน (close) ที่มุมบนขวาของแผง
To collapse the properties panel, click the (double chevron) icon at the top of the panel.
To pin the properties panel and allow another panel, such as the global filters panel, to open beside it, click the (pin) icon at the top of the panel.
การเข้าถึงข้อมูลพื้นฐาน¶
ข้อมูลพื้นฐานของรายการ ตารางสรุป หรือแผนภูมิที่แทรกไว้สามารถเข้าถึงได้ตลอดเวลา เพื่อดู:
ระเบียนแต่ละรายการของ รายการที่แทรก ให้คลิกขวาที่เซลล์ใดๆ ของแถวที่เกี่ยวข้อง จากนั้นเลือก See record
รายการระเบียนที่อ้างอิงโดยเซลล์แต่ละเซลล์ของ ตารางสรุปที่แทรก ให้คลิกขวาที่เซลล์ จากนั้นเลือก See records
รายการระเบียนที่แสดงโดยจุดข้อมูลของ แผนภูมิที่แทรก ให้คลิกที่จุดข้อมูล
Tip
ใช้ปุ่มกลางของเมาส์หรือ Ctrl + คลิกซ้าย (Microsoft/Linux) หรือ Command + คลิกซ้าย (Mac OS) เพื่อเปิดผลลัพธ์ในแท็บเบราว์เซอร์ใหม่
หากต้องการกลับไปที่สเปรดชีตหลังจากดูข้อมูลพื้นฐาน ให้คลิกชื่อของสเปรดชีตในเส้นทางนำทางที่ด้านบนของหน้า