We are trying to develop a new type of navigation page. But here we need to be able to detect as to which modules are installed in OpenERP.
How can we detect them?
In your custom code you can just write down the following code to find out the installed modules.
installed_module_ids = self.pool.get('ir.module.module').search(cr,uid,[('state','=','installed')])
It will give you ids of installed modules. Then after you can use read or browse to get another details of those modules.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/6/14, 7:31 AM|
|Seen: 757 times|
|Last updated: 9/14/15, 10:14 AM|