Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jul 15
4413
2
Mar 15
5218
3
Jul 25
2168
3
Mei 25
3802
2
Jun 25
4265