Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
13178 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 16
5321
1
thg 8 15
6397
1
thg 3 15
7323
3
thg 7 25
8773
1
thg 5 25
1073