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


Hello,

I am new to odoo, and I am currently looking if there is a full list of all the standard models somewhere? I have not found one in this documentation: https://www.odoo.com/documentation/14.0/reference/orm.html or anywhere else.


If you have one or found one I would be grateful if you would share it with me

Thank You.

形象
丢弃
编写者

Thank you very much.

最佳答案

Hi,

If you need to get list of installed models in the database, what you can do is that, activate the developer mode and navigate to Settings -> Technical -> Database Structure -> Models, here you can see, all the tables/models from installed modules.

If you are new to development, see this: How To Create Module In Odoo 14 || Odoo 14 Development

Thanks

形象
丢弃
最佳答案

Answer from Luis Boesch helped me a lot.

形象
丢弃
最佳答案

Having the same question, went in the route of getting directly from the system that at least provides a start point with the API provided, query the ir.model to obtain info

models.execute_kw(db, uid, password,'ir.model', 'search_read',[[]], {'fields' : ['name','model','state']})

形象
丢弃