Odoo在哪里保存“我的仪表盘"的内容 [英] Where does Odoo save the contents of My Dashboard
问题描述
我需要知道当单击(添加到我的仪表盘)时,Odoo将在(我的仪表盘)中显示的视图保存在何处.
I need to know where Odoo saves the views that will be shown in (My Dashboard) when we click (Add to My Dashboard).
我查看了表方案,但只能找到一个相关的表: board_create 用于保存用户创建的自定义仪表板.
I looked in the table scheme and I could only find one related table: board_create which is used to save the custom dashboards the user creates.
但是我只想了解默认仪表板的内容(视图而不是数据)在数据库中的保存位置.
But I only want to find out where the contents (the views not the data) of the default Dashboard are saved in the database.
推荐答案
在OpenERP 7和8中,您可以在"ir_ui_view_custom"表中找到仪表板的视图. 该视图将保存在拱形"列中.
In OpenERP 7 and 8 you can find the view for dashboard in 'ir_ui_view_custom' table. The view will be saved inside 'arch' column.
在OpenERP Web界面中,当您单击添加到我的仪表板"时会发生这种情况.
From OpenERP web interface this is will happened when you click 'add to my dashboard'
- Javascript将调用'add_dashboard'
- Javascript将使用'/board/add_to_dashboard'发出rpc请求以打开openerp服务器
- Openerp服务器将调用"add_to_dashboard"功能
- Openerp服务器会将视图保存在"ir_ui_view_custom"表中
Openerp使用这些文件来处理添加到我的仪表板"
Openerp use these files to process 'add to my dashboard'
- /OpenErp7/addons/board/static/src/js/dashboard.js
- /OpenErp7/src/main/openerp/addons/board/controllers.py
我希望有帮助.
这篇关于Odoo在哪里保存“我的仪表盘"的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!