Odoo Help

1

How to obtain a list of models used on a module?

By
Paulo Matos‏
on 10/6/14, 4:38 AM 2,672 views

Dear all,

Odoo works with models defined for each module used.

Is there any simple a fast way to get a list of the models used on a specific module?

For instance, how to get a list of models used by sales module?

Thank you very much

Regards

Paulo

this question is the same as my question https://www.odoo.com/nl_NL/forum/help-1/question/how-to-get-modules-dependencies-85588 but it was phrased in more better way than mine so it got more valuable replies

Tarek Mohamed Ibrahim
on 8/4/15, 4:52 PM
3

Hi,

If you want to see the models which are used in sale module then you can use the following code.

model_ids = self.pool.get('ir.model').search(cr, uid, [('modules','ilike','sale')])

I hope it will return all the models which are used in sale module. You can aslo improve the above search as you want.

Great chirag Regards

ThinkOpen Solutions (Angola), Paulo Matos‏
on 10/7/14, 2:18 AM
0
Islam farid
On 5/4/16, 9:42 PM

go to settings in the upper menu, under the technical section in side menu navigate to Database structure click on models.

use the custom search (model description contains sale)

all models in sales module will appear when click on one of them you will see:

all fields used in views which in the selected model in sales module.

regards,

0
Temur
On 10/6/14, 6:02 AM

Hi,

Please see 'Technical Data'  tab in a Form View of module you're interested in.  You can find this tab by going to 'Settings/Modules/Installed Modules' page and opening any module in a form view. In the tab you'll find some useful information related to your question.

note: if you see in the form view of module only 'Description' and 'Features' tabs, then you'll need activate 'Technical Features' access right for your user. For do that, go to 'Settings/Users/Users' page, open there your user,  edit it and check 'Technical Features' checkbox in a 'Access Rights' tab. then log out and log in again to openerp.

regards,

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 10/6/14, 4:38 AM
Seen: 2672 times
Last updated: 5/4/16, 9:42 PM