Odoo在哪里保存“我的仪表盘"的内容 [英] Where does Odoo save the contents of My Dashboard

查看:89
本文介绍了Odoo在哪里保存“我的仪表盘"的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道当单击(添加到我的仪表盘)时,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'

  1. Javascript将调用'add_dashboard'
  2. Javascript将使用'/board/add_to_dashboard'发出rpc请求以打开openerp服务器
  3. Openerp服务器将调用"add_to_dashboard"功能
  4. Openerp服务器会将视图保存在"ir_ui_view_custom"表中

Openerp使用这些文件来处理添加到我的仪表板"

Openerp use these files to process 'add to my dashboard'

  1. /OpenErp7/addons/board/static/src/js/dashboard.js
  2. /OpenErp7/src/main/openerp/addons/board/controllers.py

我希望有帮助.

这篇关于Odoo在哪里保存“我的仪表盘"的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆