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

I try to add a custom addons folder but it shows me this error when I compile

does not seem to a be a valid Addons Directory

input:

./odoo-bin --addons-path=/home/wilson/workspace/odoo/addons,/home/wilson/workspace/odoo/odoo/addons,/home/wilson/workspace/my_addons


output:

odoo-bin: error: option --addons-path: The addons-path '/home/wilson/workspace/my_addons' does not seem to a be a valid Addons Directory!

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

Hi Wilson KOSSOUHO,

First you need to check you are at the correct odoo directory or not to start the server.
For that Just type cd /home/wilson/workspace/odoo and hit the enter in terminal. Then try the below server path

    python ./odoo-bin --addons-path=addons,/home/wilson/workspace/my_addons/

No need to add the path "/home/wilson/workspace/odoo/odoo/addons" and make sure the "/home/wilson/workspace/my_addons/" path has the addon modules in it not a sub directory, Means it will contains the sub directory then you need to give the sub directory path too.

just like :
    python ./odoo-bin --addons-path=addons,/home/wilson/workspace/my_addons/sub_directory/


Hope it will work for you. Please up Vote.

Ảnh đại diện
Huỷ bỏ

PS: Monitor user XP

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 19
3254
1
thg 10 21
2974
0
thg 6 20
3452
2
thg 4 20
4179
1
thg 3 15
4193