ModuleNotFoundError:没有名为“ loglevels”的模块

时间:2018-07-23 10:20:37

标签: python-3.x

# -*- coding: utf-8 -*-
{
    'name': "myfirstModel",
'summary': """
    Short (1 phrase/line) summary of the module's purpose, used as
    subtitle on modules listing or apps.openerp.com""",

'description': """
    Long description of module's purpose
""",

'author': "My Company",
'website': "http://www.yourcompany.com",

# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',

# any module necessary for this one to work correctly
'depends': ['base'],

# always loaded
'data': [
    # 'security/ir.model.access.csv',
    'views/views.xml',
    'views/templates.xml',
],
# only loaded in demonstration mode
'demo': [
    'demo/demo.xml',
],
}

在odoo中创建新模块时遇到此错误...我无法在pycharm中导入“ loglevels” ...? 任何帮助表示赞赏...

0 个答案:

没有答案