跳至内容
菜单
此问题已终结

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

形象
丢弃
相关帖文 回复 查看 活动
0
7月 15
4413
2
3月 15
5218
3
7月 25
2168
3
5月 25
3802
2
6月 25
4266