跳至内容
菜单
此问题已终结
1 回复
12609 查看

I’ve added a module directory to /home/deploy/host-addons. Starting up Odoo definitely knows about it:

2014-09-08 10:50:08,533 5198 INFO ? openerp: addons paths: ['/home/deploy/odoo/local/data/addons/8.0', u'/home/deploy/odoo/build/8.0/openerp/addons', u'/home/deploy/odoo/build/8.0/addons', u'/home/deploy/host-addons']

There's nothing strange in the addons folder:

$ ls -dl /home/deploy/host-addons/**/*
-rw-r--r-- 1 vagrant vagrant  24 Sep  8 03:30 /home/deploy/host-addons/test/__init__.py
-rw-r--r-- 1 vagrant vagrant 275 Sep  8 03:31 /home/deploy/host-addons/test/__openerp__.py

The contents are from the example at: http://odoo-80.readthedocs.org/en/latest/howtos/website.html

==> /home/deploy/host-addons/test/__init__.py <==
__author__ = 'kitsunde'

==> /home/deploy/host-addons/test/__openerp__.py <==
# -*- coding: utf-8 -*-
{
    # The human-readable name of your module, displayed in the interface
    'name': "Academy",
    # A more extensive description
    'description': """
    """,
    # Which modules must be installed for this one to work
    'depends': ['base'],
}

Why isn't Odoo picking up my module?

形象
丢弃
最佳答案

Have you tried running Setting >> Modules >> Update Module List?

形象
丢弃
编写者

That did it, thanks. It seems like I have to enable technical features which enabled the "Update Module List". Restarting the server or clicking on plain update just wasn't enough.

相关帖文 回复 查看 活动
1
5月 16
4672
1
8月 15
5824
1
3月 15
6679
1
5月 25
247
1
7月 24
1041