コンテンツへスキップ
メニュー
この質問にフラグが付けられました

Can anyone point me to a Odoo database Data Dictionary? I am not finding it on any of the documentation links. 

Thank you.

アバター
破棄
最善の回答

Hi,

To fetch the data as dictionary from odoo database tables as dictionary, you can use the orm method search_read.



Odoo ORM:  https://www.odoo.com/documentation/16.0/developer/reference/backend/orm.html

Watch: https://www.youtube.com/watch?v=8V-uOG8KkKA

Thanks

アバター
破棄
著作者

Thank you Niyas. Actually, I am looking for the Entity Relationships. Maybe dictionary is not the right term. But maybe a dictionary of what the database entity relationships are. Like a record in res_partner connects to which entities? Is that published somewhere?

最善の回答

Hi

Odoo database dictionary comprises tables ie, models, fields, orm methods, and relationships within the database.if you have an odoo database, you can access its database dictionary using pg_admin where we can execute queries and examine each table and column in our database.you can check the following development book of odoo


https://www.cybrosys.com/odoo/odoo-books/odoo-16-development/creating-odoo-modules/adding-models/

Hope it helps

アバター
破棄