Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5 Vastaukset
7592 Näkymät

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.


Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Tekijä

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

Paras vastaus

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. 

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä Paras vastaus

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 !

Avatar
Hylkää