Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3540 Vizualizări

Hi boys, I have installed original UBUNTU distro on virtual server. So, where I can find openerp files and addons directory?

I have one files on : 1) /var/lib/~python-support/python2.7/openerp but this is only simlinks ??

Another files are : 2) /usr/share/pyshared/openerp

but when I uploaded module to 2) - openerp dont´t found it... When I uploaded to 1) - it´s OK... But why I have this files 2x?

Imagine profil
Abandonează
Cel mai bun răspuns

Number one, is the normal place for python 2.7 on ubunto. var/lib/python-support/python2.7 So that's oke, but you normally don't have any openerp directory below.

If you install openerp normally it asked for a location like:

/opt/openerp/ <----- is this available on your system. The add-ons are normally under /opt/openerp/server-version/add-ons.

In that way, if you will update your python version openerp will normally be able to work with a new version.

Number two is something that's been installed for shared libraries between python.

Imagine profil
Abandonează
Cel mai bun răspuns

If you've installed from .deb version.

Write on your console:

 sudo nano /etc/openerp/openerp-server.conf

And you'll find there the addons path, also you can add more addons paths separated by ","

Usually modules are here: /usr/lib/pymodules/python2.7/openerp/addons

Imagine profil
Abandonează