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

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

形象
丢弃
编写者

I mean modules from 3rd party

最佳答案

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

形象
丢弃
最佳答案

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.

形象
丢弃

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

最佳答案

...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...

形象
丢弃
相关帖文 回复 查看 活动
3
4月 24
4519
1
6月 21
5600
2
11月 15
3503
0
3月 15
5762
3
6月 24
2225