Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
14494 Lượt xem


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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you very much.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Answer from Luis Boesch helped me a lot.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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']})

Ảnh đại diện
Huỷ bỏ