我自定义了一个新的模块,为什么在模块列表里无法找到???求大神解惑!
- 
我在source--addons定义了一个包--mymodule:根据网上的自定义模块教程定义了三个文件:init.py openerp.py main.py 
 其中_init_.py 中的代码:import main
 openerp.py中的代码:
 # * coding: utf-8 _*__
 {
 'name' : "Mymodule",
 'summary' : """
 我的第一个模块
 """,
 'description' : """
 我的第一个模块,用于学习自定义模块。
 """,
 'author' : "shanglin",
 'website' : "http://www.yourcompany.com",
 
 # Categories can be used to filter modules in modules listing
 # Check [检测到链接无效,已移除] br /> # for the full list
 
 'category' : "Test",
 'version' : "1.11",
 
 # any module necessary for this one to work correctly
 
 'depends' : ['base'],
 
 # always loaded
 
 'data' : [
 # 'security/ir.model.access.csv',
 # 'views/mymodule_templates.xml',
 # 'demo.xml',
 
 ],
 
 # only loaded in demonstration mode
 
 'demo' : [
 'demo.xml',
 
 ],
 }
 main.py中的代码:
 '''
 Created on 2015年11月20日
 @author: shanglin
 '''
 三个文件定义完后,重启了Odoo服务器,并且更新了模块列表,为什么还是找不到模块啊?是缺少文件还是代码出错了?
