Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
10973 Widoki

HI Guys - Is there any documentation available  for  ODOO data  model  diagrams  ?  If  I  wanted  to  find  the  complete  documentation  on  relationship  between  one  table  to  other  table  then  what  is  way  around  ?


Thanks  in  Advance

Kashif   

Awatar
Odrzuć
Autor

Anyone can reply?

"ODOO DATA MODEL" is not a question. I have edited your post to make the title a question. In the future, please consider using a Question that can make it clear what you ask without requiring people to open your post, as this will often increase the chances people will respond and make everything clearer for others looking for the same answer.

Najlepsza odpowiedź

Yes,

visit="https://techneith.com/products/odoo-data-model/"


Live\ Demo Link\ 'https://youtu.be/dtg7YP7Nhpw'



Awatar
Odrzuć
Najlepsza odpowiedź

It is possible but only really works for understanding very small pieces of Odoo at a time.

For example, let's look at the TAG field on a Lead:

This can be represented visually like this:


You can see that CRM Tags can be used on Sales Orders as well as Leads.

However, even a very small Odoo database contains HUNDREDS of tables.  There are also INTERNAL tables for storing the User Interface, the Access Controls (Security), the Reports, etc.

It can quickly become very complicated to work with a visual representation.

It might work better to leverage the DATABASE STRUCTURE menu in Odoo (available in Developer Mode)


A 'model' is closest to a table in PostgreSQL, but some fields/columns can be defined by Python and might not even be persisted in PostgreSQL.

For more information, see

https://www.odoo.com/documentation/14.0/developer/reference/addons/orm.html


Note: the visual representation was created automatically by the free version of

https://www.dbvis.com/


Just to give you an idea, this is the visual representation of the Sales Order table and TWENTY-TWO relationships:


And for res.partner (Contact) there are 68 related tables:


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
2597
1
lip 25
1003
1
sie 25
1151
0
maj 25
1457
2
kwi 25
3610