تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
18949 أدوات العرض

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
أبريل 24
3386
1
يونيو 21
5033
2
نوفمبر 15
3066
0
مارس 15
5314
3
يونيو 24
1526