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

How to install apps / modules (erd party) manually for Odoo 10.0 on Ubuntu Server 16.04 LTS ?

PS : I used to put Odoo 10.0 on /opt/odoo/odoo-10.0 and the configuration file at /etc/odoo.conf

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

I mean modules from 3rd party

Câu trả lời hay nhất

I recently did the following steps to install modules in odoo 10.0 :

- copy the directory of the module in /opt/odoo/odoo10/addons
- chown -R odoo: /opt/odoo/odoo10/addons/<module_directory>
- chmod -R 755 /opt/odoo/odoo10/addons/<module_directory>
- restart odoo

- Activate the developer mode

- Go to Settings, then do "Update Apps List"
- Go to "Apps"
- Empty the search bar. You should see the new module in Apps list

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

Do not use /usr/lib/python2.7/dist-packages/odoo/addons as this is only for packages installations. And I believe /var/lib/odoo/.local/share/Odoo/addons is mainly for updates and installation of modules from the App Store application (which you can see in developper mode).

A proper install would separate packages installations (i.e. deb files), updates & App Store installations and locally downloaded modules. Traditionaly in Unix/Linux those are installed in the /usr/local tree -- for example /usr/local/share/odoo/addons). But if you setup Odoo in /opt/odoo/odoo10 you can use /opt/odoo/odoo10/addons as well. Just add the path you choose in /etc/odoo.conf under addons_path -- module paths are comma separated.

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

My mistake :

do not put addons inside odoo tree, or you will lost everuthing at the update. For example one can choose /opt/odoo/addons

Câu trả lời hay nhất

...the modules should be placed on 

/usr/lib/python2.7/dist-packages/odoo/addons


or 

/var/lib/odoo/.local/share/Odoo/addons ( confirm the this one)


do a refresh and they should appear on the apps section...

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 24
4781
1
thg 6 21
5707
2
thg 11 15
3566
0
thg 3 15
5827
3
thg 6 24
2320