跳至内容
菜单
此问题已终结
5 回复
7581 查看

Hello,

Is it possible to get the physical data model (PDM) of the database (the database design, a schema), to see the relationships, connections of each table quickly ?

Where can I find it in Odoo9 ?

Thank you.


形象
丢弃
最佳答案

Have you seen https://apps.openerp.com/apps/modules/9.0/erd_maker/

The schema of every Odoo database is unique, because of the ability to install different modules (or not) and to create models from the User Interface.

I have not seen any good options for an ENTIRE database schema tool.

形象
丢弃
编写者

Thank you Ray for your help, I'll try it ! It's seem to be what I want.

最佳答案

One other option. I used SchemaSpy to generate the full physical data model and the result was very useful. Gives html diagrams with link between tables, etc.  See: http://schemaspy.sourceforge.net/

To use it you need:

  • schemaSpy.jar

  • java

  • graphviz.msi  (to install dot.exe). Had to add graphviz to the path so dot.exe could be found by schemaspy.

  • jdbc driver for postgres. 

形象
丢弃
最佳答案

you can print model overview from the setting menu in v9 you have to active the developer mode.

and please refer my screencast: http://goo.gl/QRtGWi

形象
丢弃
编写者 最佳答案

Thank you Krupesh Laiya, your help is usefull.

But I need in fact the design with all the relationships like this (an example of PDM) :

http://epf.eclipse.org/wikis/openupsp/openup_basic/guidances/guidelines/data_modeling,_ienXEEyAEdu-df7p0PuRvQ.html

Does someone know how to do it ?
In the database there are more than 300 tables (in our case with odoo9), and it's not easy to find each relationships and to understand the database created !

形象
丢弃