Hi all,
I created a custom module. Here is the code.
__init__.py
import test_module
__openerp__.py
{
'name':'Test Module',
'version':'1.0',
'author':'Jothimani R',
'website':'www.jothimani.com',
'summary':'Test Modules',
'description':"""This module is used for Test Module""",
'depends':['web', 'base',],
'data':['view/test_module_view.xml'],
'installable':True
}
test_module.py
from openerp.osv import osv,fields
class test_module(osv.osv):
_name='test.module'
_columns={
'module_list': fields.many2many('ir.module.module', 'install_apps_rel', 'module_id', 'apps_id', 'Modules',),
}
test_module_view.xml
<openerp>
<data>
</data>
</openerp>
This module will installed successfully.
It takes long time (more then 5 hrs) while uninstalling this module. Please let me know the problem. Thanks